Get to know MDN better
This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2018.
Note: This feature is only available in Service Workers.
The ExtendableEvent() constructor creates a new ExtendableEvent object.
A string with the name of the event. It is case-sensitive.
options OptionalAn object that, in addition of the properties defined in Event(), can contain any custom settings that you want to apply to the event object. Currently no possible options are mandatory, but this has been defined for forward compatibility across the different derived events.
A new ExtendableEvent object.
| Service Workers Nightly # dom-extendableevent-extendableevent |
Enable JavaScript to view this browser compatibility table.
This page was last modified on May 13, 2024 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.