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

Selector support for .on() #30

Open
madbonkey opened this issue Apr 29, 2015 · 2 comments
Open

Selector support for .on() #30

madbonkey opened this issue Apr 29, 2015 · 2 comments

Comments

@madbonkey
Copy link

I'd like to start a discussion as to whether it could be feasible to add support for passing a selector to .on(), to facilitate event binding to dynamically created DOM elements.

@mrjjwright
Copy link

Yes, and the data object param. :) But if we don't get them because of some performance reason, no biggie for me. Just a request.

@mrjjwright
Copy link

Oh nevermind, this is trivial with a closure.

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