package js.html
extends Event
extended by ExtendableMessageEvent, FetchEvent, NotificationEvent
Available on jsThe
ExtendableEventinterface extends the lifetime of theinstallandactivateevents dispatched on the global scope as part of the service worker lifecycle. This ensures that any functional events (likeFetchEvent) are not dispatched until it upgrades database schemas and deletes the outdated cache entries.Documentation ExtendableEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
new (type:String, ?eventInitDict:ExtendableEventInit)Throws:
null |
DOMError |
|---|
waitUntil (p:Promise<Dynamic>):VoidThrows:
null |
DOMError |
|---|
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/ExtendableEvent.html