InterviewSolution
Saved Bookmarks
| 1. |
What is Event Bubbling? |
|
Answer» Event Bubbling is defined as the type of event propagation in which one element is nested inside another element, and both elements have handlers for that event. When the event is TRIGGERED, it bubbles up to the elements in the hierarchy starting from the innermost element. In simpler words, the event is FIRST CAPTURED and handled by the innermost element and then PROPAGATED to the outer elements. This causes all the events of a child element to be passed to the PARENT node. |
|