File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,9 @@ class HelloWorldElement extends HTMLElement {
6868The actions syntax follows a pattern of ` event:controller#method ` .
6969
7070 - ` event ` must be the name of a [ _ DOM Event_ ] ( https://developer.mozilla.org/en-US/docs/Web/Events ) , e.g. ` click ` .
71+ - ` : ` is the required delimiter between the ` event ` and ` controller ` .
7172 - ` controller ` must be the name of a controller ascendant to the element.
73+ - ` # ` is the required delimieter between the ` controller ` and ` method ` .
7274 - ` method ` (optional) must be a _ public_ _ method_ attached to a controller's prototype. Static methods will not work.
7375
7476If method is not supplied, it will default to ` handleEvent ` .
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ class HelloWorldElement extends HTMLElement {
5555The target syntax follows a pattern of ` controller.target ` .
5656
5757 - ` controller ` must be the name of a controller ascendant to the element.
58+ - ` . ` is the required delimiter between ` controller ` and ` target ` .
5859 - ` target ` must be the name matching that of a ` @target ` (or ` @targets ` ) annotated field within the Controller code.
5960
6061### Multiple Targets
You can’t perform that action at this time.
0 commit comments