Bubbling and Capturing in JavaScript #8866
Labels
Assigned
Assigned to some work
documentation
Improvements or additions to documentation
Frontend Dev HTML/CSS/JS
GWOC21
Description
The bubbling principle is simple.
When an event happens on an element, it first runs the handlers on it, then on its parent, then all the way up on other ancestors.
Let’s say we have 3 nested elements FORM > DIV > P with a handler on each of them:
Domain
Frontend Dev HTML/CSS/JS
Type of Contribution
Documentation
Code of Conduct
The text was updated successfully, but these errors were encountered: