Skip to content

Commit

Permalink
event delegation
Browse files Browse the repository at this point in the history
  • Loading branch information
bittu1040 committed Jan 25, 2024
1 parent 54c2837 commit 45ee5f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions JS-Topics/event-delegation.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// event delegation is a design pattern, single parent element is used to manage and handle events for multiple child elements.
// event propagation is the phase including event capturing and event bubbling.
// Event capturing and event bubbling are two distinct phases of event propagation.

0 comments on commit 45ee5f8

Please sign in to comment.