| [ Web Proxy ] |
| Viewing: https://developer.mozilla.org/en-US/docs/Web/API/ExtendableEvent/ExtendableEvent | [Back] [Original] |
Get to know MDN better
This feature is well established and works across many devices and browser versions. Its been available across browsers since April 2018.
Note: This feature is only available in Service Workers.
The ExtendableEvent() constructor creates a new ExtendableEvent object.
new ExtendableEvent(type)
new ExtendableEvent(type, options)
typeA 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.
| Specification |
|---|
| Service Workers Nightly # dom-extendableevent-extendableevent |
This page was last modified on May 13, 2024 by MDN contributors.
ExtendableEventYour blueprint for a better internet.
Portions of this content are 19982026 by individual mozilla.org contributors. Content available under a Creative Commons license.
| Web Proxy Viewer | New URL | Original Page |