event-listener-options

0.1.1 • Public • Published

Passive Event Listeners (EventListenerOptions)

An extension to the DOM event pattern to allow listeners to disable support for preventDefault, primarily to enable scroll performance optimizations. See the explainer document for an overview. This work is now part of the official WHATWG DOM spec, with resources / discussion preserved here.

Spec changes

Status of implementations:

Additional background on the problem:

Additional resources for understaning and using passive listeners

Issues with and adoption by key libraries:

History:

Readme

Keywords

Package Sidebar

Install

npm i event-listener-options

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • frederik_bosch