Google News
logo
UI Developer - Interview Questions
Explain what is event bubbling and event capturing?
Event propagation is the order of events that fire on the element. Bubbling is when an event is fired on the element then bubble up the DOM tree, i.e. child will call first, and then parent node will call, whereas capturing is opposite to the bubbling where the parent node is called first and then child node.
Advertisement