commit
653a4017d7
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ The event handling process:
|
|||
Each handler can access `event` object properties:
|
||||
|
||||
- `event.target` -- the deepest element that originated the event.
|
||||
- `event.currentTarget` (=`this`) -- the current element the handles the event (the one that has the handler on it)
|
||||
- `event.currentTarget` (=`this`) -- the current element that handles the event (the one that has the handler on it)
|
||||
- `event.eventPhase` -- the current phase (capturing=1, bubbling=3).
|
||||
|
||||
Any event handler can stop the event by calling `event.stopPropagation()`, but that's not recommended, because we can't really be sure we won't need it above, maybe for completely different things.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue