capturing phase
The first phase of event propagation, in which the event travels down from the window through each ancestor toward the target.
In more detail
Listeners registered with capture: true, or true as the third argument, run in this phase, before anything at the target. It is useful for intercepting events early and for handling events that do not bubble.
Related terms
- event propagation — The journey of an event through the DOM: down from the window to the target (capturing), at the target, then back up (bubbling).
- target phase — The middle phase of event propagation, in which listeners registered directly on the event's target element run.
- event bubbling — The way an event on an element also triggers handlers on its parent elements, one level at a time up the tree.
Taught in
- Event Phases: Capturing, Target And Bubbling Demystified — Frontend Architecture & Web Platform
- Event Delegation: Memory-Efficient Interaction Handlers — Frontend Architecture & Web Platform
- SyntheticEvent System: Event Delegation in Modern React — React 19 & Modern Component Architecture