Skip to content

Confusion about delegation and event handlers in .on()'s documentation #1103

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

Closed
Chealer opened this issue Aug 18, 2018 · 1 comment
Closed

Comments

@Chealer
Copy link
Contributor

Chealer commented Aug 18, 2018

The Direct and delegated event handlers section in .on()'s documentation contains:

By picking an element that is guaranteed to be present at the time the delegated event handler is attached, you can use delegated events to avoid the need to frequently attach and remove event handlers.

As reported in ticket #1085, even though that page refers to them several times (at least on source lines 44, 45 and 46), there is no such thing as a "delegated event". "Delegated events" should read "Delegated event handlers".

@dmethvin
Copy link
Member

We'd welcome a pull request.

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

Successfully merging a pull request may close this issue.

2 participants