-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels