extends EventTargetAvailable on js
ServiceWorkerinterface of the ServiceWorker API provides a reference to a service worker. Multiple browsing contexts (e.g. pages, workers, etc.) can be associated with the same service worker, each through a unique
read only state:ServiceWorkerState
Returns the state of the service worker. It returns one of the following values:
postMessage (message:Dynamic, ?transferable:Array<Dynamic>):Void
© 2005–2018 Haxe Foundation
Licensed under a MIT license.