You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
enzy
changed the title
Ability to listen for CustomEvents in listeners property
Component: Ability to listen for CustomEvents in listeners property
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 properremoveEventListener
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).
The text was updated successfully, but these errors were encountered: