Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event Delegation support #15

Open
tarciozemel opened this issue Feb 8, 2014 · 1 comment
Open

Event Delegation support #15

tarciozemel opened this issue Feb 8, 2014 · 1 comment

Comments

@tarciozemel
Copy link

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);
@shirotech
Copy link

+1, helps reduce number of bindings, and also could support elements created dynamically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants