Skip to content

Conversation

mdbenito
Copy link

This PR

  • Extends from-event to accept an optional third arg with options for addEventListener. This is useful e.g. to listen to wheel events in a non-passive way so as to be able to stop them from propagating.
  • Adds a unit test (although I wonder about the usefulness of such a test given that the target is mocked... 🤷🏽)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant