#dom

Found 1 articles tagged with #dom

Event bubbling and capturing in JavaScript

In JavaScript, events propagate through event bubbling (from innermost to outermost) and event capturing (opposite direction). Both allow event handling at different DOM levels.