We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
An implicit document base element is convenient but not a good idea, like jQuery.live demonstrated at the time.
document
jQuery.live
delegate('.btn', 'click', event => { console.log(event.delegateTarget); });
delegate(document.body, '.btn', 'click', event => { console.log(event.delegateTarget); });
or rather
delegate('.container-not-body', '.btn', 'click', event => { console.log(event.delegateTarget); });
The text was updated successfully, but these errors were encountered:
Done in 7c9b6c3
Will be published in the next major, this week.
Sorry, something went wrong.
base
No branches or pull requests
An implicit
document
base element is convenient but not a good idea, likejQuery.live
demonstrated at the time.Before
After
or rather
The text was updated successfully, but these errors were encountered: