package js.html
extends Event
extended by ExtendableMessageEvent, FetchEvent, NotificationEvent
Available on jsThe
ExtendableEvent
interface extends the lifetime of theinstall
andactivate
events 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>):Void
Throws:
null |
DOMError |
---|
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/ExtendableEvent.html