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 {
68
68
The actions syntax follows a pattern of ` event:controller#method ` .
69
69
70
70
- ` 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 ` .
71
72
- ` controller ` must be the name of a controller ascendant to the element.
73
+ - ` # ` is the required delimieter between the ` controller ` and ` method ` .
72
74
- ` method ` (optional) must be a _ public_ _ method_ attached to a controller's prototype. Static methods will not work.
73
75
74
76
If 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 {
55
55
The target syntax follows a pattern of ` controller.target ` .
56
56
57
57
- ` controller ` must be the name of a controller ascendant to the element.
58
+ - ` . ` is the required delimiter between ` controller ` and ` target ` .
58
59
- ` target ` must be the name matching that of a ` @target ` (or ` @targets ` ) annotated field within the Controller code.
59
60
60
61
### Multiple Targets
You can’t perform that action at this time.
0 commit comments