fix template-syntax comments
This commit is contained in:
parent
d398150573
commit
b1aae7f306
|
@ -1389,15 +1389,15 @@ block style-property-name-dart-diff
|
|||
这都是好事。
|
||||
|
||||
//
|
||||
:marked
|
||||
### Event bubbling and propagation [TODO: reinstate this section when it becomes true]
|
||||
Angular invokes the event-handling statement if the event is raised by the current element or one of its child elements.
|
||||
+makeExample('template-syntax/ts/app/app.component.html', 'event-binding-bubbling')(format=".")
|
||||
:marked
|
||||
Many DOM events, both [native](https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Overview_of_Events_and_Handlers ) and [custom](https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Creating_and_triggering_events ), bubble up their ancestor tree of DOM elements until an event handler along the way prevents further propagation.
|
||||
:marked
|
||||
### Event bubbling and propagation [TODO: reinstate this section when it becomes true]
|
||||
Angular invokes the event-handling statement if the event is raised by the current element or one of its child elements.
|
||||
+makeExample('template-syntax/ts/app/app.component.html', 'event-binding-bubbling')(format=".")
|
||||
:marked
|
||||
Many DOM events, both [native](https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Overview_of_Events_and_Handlers ) and [custom](https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Creating_and_triggering_events ), bubble up their ancestor tree of DOM elements until an event handler along the way prevents further propagation.
|
||||
|
||||
.l-sub-section
|
||||
:marked
|
||||
:marked
|
||||
`EventEmitter` events don’t bubble.
|
||||
|
||||
:marked
|
||||
|
|
Loading…
Reference in New Issue