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

Other name for "addEventListener"? #22

Open
ReneDrie opened this issue Aug 25, 2020 · 0 comments
Open

Other name for "addEventListener"? #22

ReneDrie opened this issue Aug 25, 2020 · 0 comments

Comments

@ReneDrie
Copy link

I like the new notation, but I (and my IDE) have a bit of an issue with the name of the function.
Since it's also a default function name (for the same thing) it causes issues with the auto importer.
Should we rename the "addEventListener" function so it's easier to autoimport and doesn't cause other potential conflicts?

We could use "addListener" or the more jQuery like "on" or maybe something else?

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

1 participant