docs: fix typo event1 -> event

This commit is contained in:
Pascal Precht 2015-11-30 16:39:24 +01:00 committed by Jeremy Elbourn
parent cf3ceba2cc
commit b9b14dc731
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ export class DirectiveMetadata extends InjectableMetadata {
* Specifies which DOM events a directive listens to via a set of `(event)` to `method`
* key-value pairs:
*
* - `event1`: the DOM event that the directive listens to.
* - `event`: the DOM event that the directive listens to.
* - `statement`: the statement to execute when the event occurs.
* If the evaluation of the statement returns `false`, then `preventDefault`is applied on the DOM
* event.