Event Delegation support
tarciozemel opened this issue · comments
It would be nice if Chibi has Event Delegation support - maybe as the 2nd argument of .on()
, like many of popular solutions out there. So code like this would be possible:
$('ul').on('click', 'li', foo);
+1, helps reduce number of bindings, and also could support elements created dynamically.