Replies: 2 comments
-
Thanks! I'm curious to see your proposal. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I created #585, since I think an implementation is probably the clearest proposal :) Happy to modify, refine, etc. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First: I love this package!
Second, I was a little surprised to learn that
addEventListener
only supports DOM elements, the window or a media query list aselement
.Looking through the code, I couldn't immediately see why it couldn't also support any instance of the
EventTarget
interface.I'm happy to create a PR, but I wanted to see if there was a pre-existing reason for the current support limit.
Beta Was this translation helpful? Give feedback.
All reactions