+ 1

What is the event propagation?

event propagation

6th Feb 2017, 1:34 PM
Muhammad Hussein
Muhammad Hussein - avatar
2 Answers
+ 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"
6th Feb 2017, 9:04 PM
Daniel S
Daniel S - avatar
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.
15th Feb 2017, 10:59 AM
Heron Dias
Heron Dias - avatar