HubSpot / youmightnotneedjquery

http://YouMightNotNeedjQuery.com
MIT License
14.18k stars 535 forks source link

Is there a way to achieve event delegation without jQuery? #55

Closed jokeyrhyme closed 3 years ago

jokeyrhyme commented 10 years ago

http://api.jquery.com/on/

It seems like W3C DOM Events are still insufficient for this use case.

Is it worth having a "devils advocate" part of the site that shows why jQuery is still handy?

wyuenho commented 10 years ago

https://github.com/jashkenas/backbone/pull/2959/files#diff-0d56d0d310de7ff18b3cef9c2f8f75dcL1068

matthew-andrews commented 10 years ago

We built this:- https://github.com/ftlabs/ftdomdelegate

Associated write up: DOM Event Delegation without jQuery

Abbondanzo commented 3 years ago

Closed in favor of #240