Skip to main content

Command Palette

Search for a command to run...

What is Event Propagation ?

Published
1 min read
S

I love learning about technology and sharing that with others

introduction

so when an event occurs to any DOM element lets say there is an event onClick event that occurs in the button.

Bubbling Phase: the event will move from the DOM element all the way to the Window

Capturing Phase: the event travels from window to all the way to the particular DOM element

Target Phase: the event has reached the target phase.

image.png

More from this blog

H

hashcodehub

271 posts

Consistent, Passionate and Organized :)