docs: fix typo in directive decorator description (#29207)
PR Close #29207
This commit is contained in:
parent
df354d1b34
commit
9d1423df7e
|
@ -274,7 +274,7 @@ export interface Directive {
|
||||||
* To listen to global events, add the target to the event name.
|
* To listen to global events, add the target to the event name.
|
||||||
* The target can be `window`, `document` or `body`.
|
* The target can be `window`, `document` or `body`.
|
||||||
* - The value is the statement to execute when the event occurs. If the
|
* - The value is the statement to execute when the event occurs. If the
|
||||||
* statement evalueates to `false`, then `preventDefault` is applied on the DOM
|
* statement evaluates to `false`, then `preventDefault` is applied on the DOM
|
||||||
* event. A handler method can refer to the `$event` local variable.
|
* event. A handler method can refer to the `$event` local variable.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue