docs(template-syntax): delete a single character
This commit is contained in:
parent
32ac619fc7
commit
3fa68cd7ac
|
@ -781,7 +781,7 @@ block style-property-name-dart-diff
|
|||
|
||||
Directives typically raise custom events with an Angular [EventEmitter](../api/core/index/EventEmitter-class.html).
|
||||
The directive creates an `EventEmitter` and exposes it as a property.
|
||||
The directives calls `EventEmitter.emit(payload)` to fire an event, passing in a message payload, which can be anything.
|
||||
The directive calls `EventEmitter.emit(payload)` to fire an event, passing in a message payload, which can be anything.
|
||||
Parent directives listen for the event by binding to this property and accessing the payload through the `$event` object.
|
||||
|
||||
Consider a `HeroDetailComponent` that presents hero information and responds to user actions.
|
||||
|
|
Loading…
Reference in New Issue