r/javaScriptStudyGroup • • Feb 16 '16

Event Capturing Demo

I put together a little event Capturing / Bubbling Demo - Codepen
 

Demonstrates how you might control surrounding elements reaction to an event on a nested element. Easy to have something happen before or after the main event is registered.
 

Based on this Article

2 Upvotes

1 comment sorted by

1

u/ForScale Feb 22 '16

Just seeing this. Good stuff!

We could certainly do an event propagation themed week, if you want.