You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 2-ui/2-events/02-bubbling-and-capturing/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,7 +193,7 @@ The event handling process:
193
193
Each handler can access `event` object properties:
194
194
195
195
-`event.target` -- the deepest element that originated the event.
196
-
-`event.currentTarget` (=`this`) -- the current element the handles the event (the one that has the handler on it)
196
+
-`event.currentTarget` (=`this`) -- the current element that handles the event (the one that has the handler on it)
197
197
-`event.eventPhase` -- the current phase (capturing=1, bubbling=3).
198
198
199
199
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.
0 commit comments