JavaScript

Event propagation

Event propagation is the process of transmitting an event across a series of objects.

For instance, when a button is clicked on a webpage, the click event fires on the button, then on its parent, then on its grandparent, and so on until it reaches the top-most object (i.e. usually window). This is propagation in action.

Discussed on