InterviewSolution
Saved Bookmarks
| 1. |
What is event bubbling and capturing in JavaScript? |
|
Answer» The propagation of events inside the DOM (Document Object Model) is known as 'Event Flow' in JavaScript. The event flow defines the order or sequence in which a particular WEB page receives an event. Accordingly, event flow (propagation) in JS is dependent on the following aspects:
The following diagram will help you to understand the event propagation life cycle. |
|