0

I could understand the concept of bubling

Can anyone explain in detail how it works and how it is implemented

17th Apr 2017, 10:10 PM
@iamYash
1 ответ
+ 11
Bubbling is when events trigger first on the specific thing you interact with, and then up the chain to the more general things it's inside. Ex: If you click a link in a list, the event triggers first for the link, then the list item, then the list itself, then the entire document. By the way, Capturing is the opposite, triggering on the document first, then the list, list item, and then the link. From general to specific.
17th Apr 2017, 11:15 PM
Tamra
Tamra - avatar