-
Notifications
You must be signed in to change notification settings - Fork 7
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
Rename .on()
?
#7
Comments
Pinging @yoshuawuyts @bendrucker @sethvincent for an opinion on whether or not |
Also @Flet, thanks! |
Oh shoot, forgot to come back on this. I really like the There's a (broken) example of how this could be done here using synthetic-dom-events. I think that would make a reasonable base, at a higher level Does this make sense? |
+1 to |
Ah interesting, that makes sense. I am also now +1 to |
This is sensible! |
wooh! 🎉 |
Originally I named it
.on()
for readability, such asel.on('click')
orel.on('selected')
. But I understand that is a commonly used name so maybe another would be better suited. Initiated by this: https://twitter.com/yoshuawuyts/status/597563041119608832@yoshuawuyts Could you elaborate more on why
.attachListener()
would be a better name? Thanks!The text was updated successfully, but these errors were encountered: