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
Was thinking the other day, it would be cool if nanobus supported event listeners that implemented handleEvent so that event listeners can take advantage of the prototype chain.
Also, side thought, would it be worth adding aliases for the other DOM event emitter methods (.addEventListener etc)
Was thinking the other day, it would be cool if nanobus supported event listeners that implemented
handleEvent
so that event listeners can take advantage of the prototype chain.Also, side thought, would it be worth adding aliases for the other DOM event emitter methods (
.addEventListener
etc)I would be interested in doing this, interested in what others think before I do. See https://gist.github.com/bcomnes/8155cc64406bf6c81915c7d06916df89 and https://medium.com/@WebReflection/dom-handleevent-a-cross-platform-standard-since-year-2000-5bf17287fd38 for some reasons why this is an interesting API.
The text was updated successfully, but these errors were encountered: