grammar fix
This commit is contained in:
parent
62a0bb597f
commit
8edfab513f
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
# Event delegation
|
# Event delegation
|
||||||
|
|
||||||
Capturing and bubbling allow to implement one of most powerful event handling patterns called *event delegation*.
|
Capturing and bubbling allow us to implement one of most powerful event handling patterns called *event delegation*.
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue