JSPM

event-listener-options

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q20281F
  • License MIT

An extension to the DOM event pattern to allow listeners to disable support for preventDefault, primarily to enable scroll performance optimizations.

Package Exports

  • event-listener-options

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (event-listener-options) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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: