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

Component: Ability to listen for CustomEvents in listeners property #19

Open
enzy opened this issue Jul 23, 2019 · 0 comments
Open

Component: Ability to listen for CustomEvents in listeners property #19

enzy opened this issue Jul 23, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@enzy
Copy link
Contributor

enzy commented Jul 23, 2019

The events we can currently listen to (in listeners property) are limited to built-in DOM events.

When we need to listen to a custom events, some code with addEventListener (and proper removeEventListener handling) needs to be written. This adds complexity to a custom code base which I think we can avoid.

Ideally it shouldn't brake IDEs ability to autocomplete DOM event names (which we enjoy in the current version).

@enzy enzy added the enhancement New feature or request label Jul 23, 2019
@enzy enzy changed the title Ability to listen for CustomEvents in listeners property Component: Ability to listen for CustomEvents in listeners property Jul 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant