# WICG/EventListenerOptions

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

Repository: https://github.com/WICG/EventListenerOptions
Canonical: https://ross.abutalabs.com/products/eventlisteneroptions
Language: JavaScript
License: NOASSERTION
License Family: other
Archived: true
Last push: 2018-03-12T16:11:51+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4080, "days_push": 3096, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1158, forks 138 (observed 2026-08-28T04:03:48.527777+00:00)

## What it is
A WICG proposal and polyfill extending the DOM event pattern with EventListenerOptions, allowing developers to register passive event listeners that opt out of preventDefault. The work has been merged into the official WHATWG DOM spec and is now natively supported by all major browsers, so this repository is preserved only as an archive.

## Use cases
- improve scroll performance on touch and wheel events
- register passive event listeners in older browsers
- disable preventDefault for event listeners
- polyfill EventListenerOptions support
- reduce jank from non-passive touch listeners

## When to choose
- you need to support very old browsers lacking native passive listener support
- you want the original explainer and polyfill for reference

## When to avoid
- you target modern browsers, which support passive listeners natively
- you need an actively maintained library
- you want to file issues or contribute - use the WHATWG DOM spec repo instead

## Facets
- artifact type: library
- maturity: abandoned
- function: browser-extension, developer-tools
- domain: web-development, frontend, performance
- platform: browser
- tags: passive-event-listeners, dom, polyfill, web-performance, scroll-performance, spec-archive, javascript

## Member repositories
- WICG/EventListenerOptions (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:48.527777+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:31:56.281998+00:00, confidence not recorded.
  - readme: https://github.com/WICG/EventListenerOptions (fetched 2026-08-28T04:03:48.527777+00:00, sha e9c0c7cdf8ba)
- Data as of 2026-08-30T08:39:29.467469+00:00.
