You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[Day 22](./each%20day%20build%20day!/Day%2022/)|[Not to do list](./each%20day%20build%20day!/Day%2022/)|[demo]()|[Takeaways](./each%20day%20build%20day!/Day%2022/README.md/)|
42
42
|[Day 23](./each%20day%20build%20day!/Day%2023/)|[Speedometer and Compass](./each%20day%20build%20day!/Day%2023/)|[demo]()|[Takeaways](./each%20day%20build%20day!/Day%2023/README.md/)|
Demo app to clear the confusion between common terms related to event listeners.
4
+
1. Event bubbling : when working with nested elements eventlisteners start/listen to all the element inside out.
5
+
2. Event Capture and Propogation : when option in eventlistener is set true it starts to listen from outside to inside. This propogation can be stopped all true by `stopPropogation()` method on events object
6
+
3. There's one more interesting option called `once` which basically removes the eventlisterner after one time trigger.
7
+
This could be useful in situation where you do not want users to keep clicking a button continuously ex. checkout button.
0 commit comments