97
97
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ template.ng
98
98
><div [invalidProperty)="val"></div>
99
99
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ template.ng
100
- >
100
+ >
101
+ ><!-- Event binding test -->
102
+ #^^^^^^^^^^^^^^^^^^^^^^^^^^^^ template.ng
103
+ ><button (click)="onClick($event)"></button>
104
+ #^^^^^^^^ template.ng
105
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.begin.html
106
+ # ^^^^^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html
107
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.end.html
108
+ # ^ template.ng meta.ng-binding.event.html punctuation.separator.key-value.html
109
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.begin.html
110
+ # ^^^^^^^^^^^^^^^ template.ng meta.ng-binding.event.html source.js
111
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.end.html
112
+ # ^^^^^^^^^^^ template.ng
113
+ ><input (ngModelChange)="onModelChange($event)" />
114
+ #^^^^^^^ template.ng
115
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.begin.html
116
+ # ^^^^^^^^^^^^^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html
117
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.end.html
118
+ # ^ template.ng meta.ng-binding.event.html punctuation.separator.key-value.html
119
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.begin.html
120
+ # ^^^^^^^^^^^^^^^^^^^^^ template.ng meta.ng-binding.event.html source.js
121
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.end.html
122
+ # ^^^^ template.ng
123
+ ><div (@animation.done)="onAnimationDone($event)"></div>
124
+ #^^^^^ template.ng
125
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.begin.html
126
+ # ^^^^^^^^^^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html
127
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.accessor.html
128
+ # ^^^^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html
129
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.end.html
130
+ # ^ template.ng meta.ng-binding.event.html punctuation.separator.key-value.html
131
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.begin.html
132
+ # ^^^^^^^^^^^^^^^^^^^^^^^ template.ng meta.ng-binding.event.html source.js
133
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.end.html
134
+ # ^^^^^^^^ template.ng
135
+ ><div (someEvent)="
136
+ #^^^^^ template.ng
137
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.begin.html
138
+ # ^^^^^^^^^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html
139
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.end.html
140
+ # ^ template.ng meta.ng-binding.event.html punctuation.separator.key-value.html
141
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.begin.html
142
+ > if (isCondition) {
143
+ #^^^^^^^^^^^^^^^^^^^^^^^ template .ng meta .ng - binding .event .html source .js
144
+ > methodIfTrue ($event );
145
+ #^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ template .ng meta .ng - binding .event .html source .js
146
+ > } else {
147
+ #^^^^^^^^^^^^^ template .ng meta .ng - binding .event .html source .js
148
+ > methodIfFalse ($event );
149
+ #^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ template .ng meta .ng - binding .event .html source .js
150
+ > }
151
+ #^^^^^^ template.ng meta.ng-binding.event.html source.js
152
+ >"></div >
153
+ #^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.end.html
154
+ # ^^^^^^^^ template.ng
155
+ ><div ( extraSpacing )="onExtraSpacing($event)"></div>
156
+ #^^^^^ template.ng
157
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.begin.html
158
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html
159
+ # ^^^^^^^^^^^^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html
160
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html
161
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.end.html
162
+ # ^ template.ng meta.ng-binding.event.html punctuation.separator.key-value.html
163
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.begin.html
164
+ # ^^^^^^^^^^^^^^^^^^^^^^ template.ng meta.ng-binding.event.html source.js
165
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.end.html
166
+ # ^^^^^^^^ template.ng
167
+ ><my-component (myEvent)="onMyEvent($event)"></my-component>
168
+ #^^^^^^^^^^^^^^ template.ng
169
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.begin.html
170
+ # ^^^^^^^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html
171
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.end.html
172
+ # ^ template.ng meta.ng-binding.event.html punctuation.separator.key-value.html
173
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.begin.html
174
+ # ^^^^^^^^^^^^^^^^^ template.ng meta.ng-binding.event.html source.js
175
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.end.html
176
+ # ^^^^^^^^^^^^^^^^^ template.ng
177
+ ><my-component (my-event)="onMyEvent($event)"></my-component>
178
+ #^^^^^^^^^^^^^^ template.ng
179
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.begin.html
180
+ # ^^^^^^^^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html
181
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.end.html
182
+ # ^ template.ng meta.ng-binding.event.html punctuation.separator.key-value.html
183
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.begin.html
184
+ # ^^^^^^^^^^^^^^^^^ template.ng meta.ng-binding.event.html source.js
185
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.end.html
186
+ # ^^^^^^^^^^^^^^^^^ template.ng
187
+ ><my-component (my_event)="onMyEvent($event)"></my-component>
188
+ #^^^^^^^^^^^^^^ template.ng
189
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.begin.html
190
+ # ^^^^^^^^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html
191
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.end.html
192
+ # ^ template.ng meta.ng-binding.event.html punctuation.separator.key-value.html
193
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.begin.html
194
+ # ^^^^^^^^^^^^^^^^^ template.ng meta.ng-binding.event.html source.js
195
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.end.html
196
+ # ^^^^^^^^^^^^^^^^^ template.ng
197
+ ><my-component (myEvent$)="onMyEvent($event)"></my-component>
198
+ #^^^^^^^^^^^^^^ template.ng
199
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.begin.html
200
+ # ^^^^^^^^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html
201
+ # ^ template.ng meta.ng-binding.event.html entity.other.attribute-name.html entity.other.ng-binding-name.event.html punctuation.definition.ng-binding-name.end.html
202
+ # ^ template.ng meta.ng-binding.event.html punctuation.separator.key-value.html
203
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.begin.html
204
+ # ^^^^^^^^^^^^^^^^^ template.ng meta.ng-binding.event.html source.js
205
+ # ^ template.ng meta.ng-binding.event.html string.quoted.html punctuation.definition.string.end.html
206
+ # ^^^^^^^^^^^^^^^^^ template.ng
207
+ ><my-component (%invalidEvent)="onMyEvent($event)"></my-component>
208
+ #^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ template.ng
209
+ ><my-component (invalidEvent]="onMyEvent($event)"></my-component>
210
+ #^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ template.ng
0 commit comments