skyisle / 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)

This work is now part of the official WHATWG DOM spec. Please file any issues/pull requests there. This repository (and its resources / discussions) are only preserved here as an archive.


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.

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%