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/03-event-delegation/article.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
2
2
# Event delegation
3
3
4
-
Capturing and bubbling allow to implement one of most powerful event handling patterns called *event delegation*.
4
+
Capturing and bubbling allow us to implement one of most powerful event handling patterns called *event delegation*.
5
5
6
6
The idea is that if we have a lot of elements handled in a similar way, then instead of assigning a handler to each of them -- we put a single handler on their common ancestor.
0 commit comments