-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Switch to 'handleClick' listener naming over 'onClick' #1761
Labels
Milestone
Comments
On it |
bc-bbay
added a commit
to bc-bbay/video.js
that referenced
this issue
Apr 28, 2015
For issue videojs#1761
bc-bbay
added a commit
to bc-bbay/video.js
that referenced
this issue
Apr 28, 2015
For issue videojs#1761
bc-bbay
added a commit
to bc-bbay/video.js
that referenced
this issue
Apr 29, 2015
bc-bbay
added a commit
to bc-bbay/video.js
that referenced
this issue
Apr 29, 2015
Closed via #2093 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
At the moment, most components use the 'on[Event]' naming structure for private-ish event handler/listener functions. This could be confusing with the element attributes like
onclick
that let you add a listener without usingaddEventListener
. We should switch tohandle[Event]
for the naming, unless anyone has a better suggestion.This may or may not be a breaking change, so we should assume it is and release with 5.0.
The text was updated successfully, but these errors were encountered: