Question: explain event propagation. for example, there is a button inside a div. when we click the button, how the event propagates in the DOM tree?
explain event propagation.
for example, there is a button inside a div. when we click the button, how the event propagates in the DOM tree?
please explain each phase and specify target the current target
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
