X Tutup
Skip to content

Commit b9b14dc

Browse files
0x-r4bbitjelbourn
authored andcommitted
docs: fix typo event1 -> event
1 parent cf3ceba commit b9b14dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/angular2/src/core/metadata/directives.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ export class DirectiveMetadata extends InjectableMetadata {
532532
* Specifies which DOM events a directive listens to via a set of `(event)` to `method`
533533
* key-value pairs:
534534
*
535-
* - `event1`: the DOM event that the directive listens to.
535+
* - `event`: the DOM event that the directive listens to.
536536
* - `statement`: the statement to execute when the event occurs.
537537
* If the evaluation of the statement returns `false`, then `preventDefault`is applied on the DOM
538538
* event.

0 commit comments

Comments
 (0)
X Tutup