kiltjs / jqlite

Tiny JavaScript DOM query library that uses pure CSS selectors
MIT License
100 stars 19 forks source link

Live listener #6

Open jgermade opened 9 years ago

jgermade commented 9 years ago

live listeners

signature: $.on(eventName, selector, handler)

nested option

signature: $.fn.on(eventName, [selector,] handler)
RongBranovate commented 9 years ago

+1 on this as well for the off() function

jgermade commented 8 years ago

Hi @RongBranovate , maybe you like this little library: https://github.com/jstools/jq-plugin

Can be used with both jqlite and jQuery.