Can someone explain the clear difference between bubbling and capturing and which one occurs or used when | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can someone explain the clear difference between bubbling and capturing and which one occurs or used when

1st Nov 2018, 9:31 AM
SHAILA BHAGWAT
8 Answers
+ 8
It is about what topic
3rd Nov 2018, 8:18 PM
sudhir meena
sudhir meena - avatar
+ 8
These both are types of event handling in JavaScript. Bubbling is like inside to outside and capturing is like outside to inside. In bubbling first inner element is handled and then outer. In capturing first outer element is handled then inner.
3rd Nov 2018, 8:27 PM
sudhir meena
sudhir meena - avatar
+ 7
4th Nov 2018, 5:14 AM
sudhir meena
sudhir meena - avatar
+ 2
Javascript dom propogation
3rd Nov 2018, 8:20 PM
SHAILA BHAGWAT
+ 2
Yep I understand that but it want to understand it with some example
3rd Nov 2018, 8:28 PM
SHAILA BHAGWAT
+ 2
OK thanks...
3rd Nov 2018, 8:32 PM
SHAILA BHAGWAT