We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf3ceba commit b9b14dcCopy full SHA for b9b14dc
modules/angular2/src/core/metadata/directives.ts
@@ -532,7 +532,7 @@ export class DirectiveMetadata extends InjectableMetadata {
532
* Specifies which DOM events a directive listens to via a set of `(event)` to `method`
533
* key-value pairs:
534
*
535
- * - `event1`: the DOM event that the directive listens to.
+ * - `event`: the DOM event that the directive listens to.
536
* - `statement`: the statement to execute when the event occurs.
537
* If the evaluation of the statement returns `false`, then `preventDefault`is applied on the DOM
538
* event.
0 commit comments