Web Components Guide

Event Phases: Capturing & Bubbling

In the previous section we learned about event basics like the EventTarget and Event classes. We also learned about how to add and remove listeners, how to extend those classes, and some options that both classes have.

In this section we'll learn about another big part to do with event systems, and how they are tied together in the DOM tree to make one complete system that propagates across multiple EventTargets to create a more complete system which tracks events through the entire DOM tree.

This section is incomplete! You can help out by contributing documentation here !