JavaScript

Event Bubbling

Definition

The DOM event propagation pattern where an event triggered on a child element propagates upward through its ancestors. This allows event delegation — attaching a single listener to a parent to handle events on its children.

Code Example

Javascript
Tip: Modify the code above and click “Run” to see the results

Learn More

Related Terms