docs: fix typo event1 -> event
This commit is contained in:
parent
cf3ceba2cc
commit
b9b14dc731
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue