docs(template-syntax): delete a single character

This commit is contained in:
Kathy Walrath 2016-09-06 10:33:13 -07:00 committed by GitHub
parent 32ac619fc7
commit 3fa68cd7ac
1 changed files with 1 additions and 1 deletions

View File

@ -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.