jgthms / EventListenerOptions

An extension to the DOM event pattern to allow authors to disable support for preventDefault

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

An extension to the DOM event pattern to allow authors to disable support for preventDefault

License:Other


Languages

Language:JavaScript 100.0%