Merge pull request #580 from dangdennis/patch-1

Update article.md
This commit is contained in:
Ilya Kantor 2017-06-03 09:33:36 +03:00 committed by GitHub
commit 653a4017d7

View file

@ -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.