Element.Delegation

This demo will show you how to: add a single event to a parent element and have it delegate that event to it's children based on a selector, even elements that were created after the event was setup.

  • Demo
  • Docs
  • CSS
  • HTML
  • JavaScript

Click one of the blocks:

Documentation References: