+ 1
What is the event propagation?
event propagation
2 ответов
+ 3
if you have an object, and a children of it. Both have for example click events. when the children is clicked, the event is passed to the parents event method. This is called "event propagation"
0
DOM elements can be nested inside each other. And somehow, the handler of the parent works even if you click on it’s child.