package js.html
extended by WindowClient
Available on jsThe
Clientinterface of the ServiceWorker API represents the scope of a service worker client. A service worker client is either a document in a browser context or aSharedWorker, which is controlled by an active worker. A client object acts as a snapshot representation of its associated service worker client in the scope of a service worker.Documentation Client by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
read only frameType:FrameTypeIndicates the type of browsing context of the current client. This value can be one of auxiliary, top-level, nested, or none.
read only id:StringReturns the universally unique identifier of the Client object.
read only url:StringThe URL of the current service worker client.
postMessage (message:Dynamic, ?transfer:Array<Dynamic>):VoidThrows:
null |
DOMError |
|---|
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/Client.html