JavaScript Events: Bubbling, Capturing, and Propagation are examples of how events travel through the Document Object Model (DOM) tree. The DOM tree is the structure which contains parent/child/sibling elements in relation to each other. You can set listeners to watch for these events that will trigger your desired functionality.

4m read timeFrom dev.to
Post cover image
Table of contents
A basic example of a JavaScript eventWhat is “propagation”?
3 Comments

Sort: