Support adding event listeners with the "once" option set to true. When set to true, options’s once member indicates that the callback will only be invoked once after which the event listener will be removed.

Documentation

Specification

Established standard

Status in Chromium

Blink


Enabled by default (tracking bug) in:

  • Chrome for desktop release 55
  • Chrome for Android release 55
  • Android WebView release 55

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Comments

It is already supported in Safari Technology Preview 7, vaguely mentioned in https://webkit.org/blog/6640/release-notes-for-safari-technology-preview-release-7/

Last updated on 2020-11-09