DEV Community

Bubble VS Capture

Clickys on August 03, 2018

Greetings fellow devs, Event bubbling and capturing are two ways of event propagation in the HTML DOM API, when an event occurs in an element i...
Collapse
 
sarathkumar6 profile image
nagarajsarath

Hello Clickys,

Thank you for explaining event bubbling and event capturing with an intuitive example. Just noticed that the screenshots for the handler code has

console.log('Box-1 is clicked')

for all the handlers. Initially, I was confused briefly and then figured it could just be a copy/paste issue. Thanks again for the article.

-Sarath

Collapse
 
clickys profile image
Clickys

Thank you for your replied , i just notice your msg not sure why i didnt get notify earlier :) .

It was a copy paste issue thank you so much for mentioning it.

Cheers.