filmov
tv
Event propagation - Basic JavaScript Fast (60) | stopPropagation, stopImmediatePropagation
![preview_player](https://i.ytimg.com/vi/I25DmG7V1Js/maxresdefault.jpg)
Показать описание
This video discusses event propagation in JavaScript. Event propagation involves bubbling and capturing. Bubbling means that events are triggered on an element up to its ancestors. On the other hand, capturing means that events are handled from outermost ancestor down to target element.
We can stop the propagation of an event handler on a DOM element. There are two ways of doing so. We can stop one event handler from propagating, while allowing other event handlers to be executed. Or, we can stop all event handlers from propagating.
2:33 - Bubbling
9:07- stopPropagation, stopImmediatePropagation
15:36 - Capturing
Playlist of my JavaScript course
Playlist of my HTML5 and CSS3 tutorials
Playlist of my algorithm walkthrough
Playlist of my Java course
Playlist of my Java examples
#javascripttutorial #javascriptfullcourse #begincodingfast #javascript #bubbling #capturing
We can stop the propagation of an event handler on a DOM element. There are two ways of doing so. We can stop one event handler from propagating, while allowing other event handlers to be executed. Or, we can stop all event handlers from propagating.
2:33 - Bubbling
9:07- stopPropagation, stopImmediatePropagation
15:36 - Capturing
Playlist of my JavaScript course
Playlist of my HTML5 and CSS3 tutorials
Playlist of my algorithm walkthrough
Playlist of my Java course
Playlist of my Java examples
#javascripttutorial #javascriptfullcourse #begincodingfast #javascript #bubbling #capturing