package js.html
Available on jsThe
Clientsinterface of the Service Workers API represents a container for a list ofClientobjects.Documentation Clients by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
claim ():Promise<Void>Allows an active Service Worker to set itself as the active worker for a client page when the worker and the page are in the same scope.
get (id:String):Promise<Dynamic>Gets a service worker client matching a given id and returns it in a Promise.
matchAll (?options:ClientQueryOptions):Promise<Array<Client>>Gets a list of service worker clients and returns them in a Promise. Include the options parameter to return all service worker clients whose origin is the same as the associated service worker's origin. If options are not included, the method returns only the service worker clients controlled by the service worker.
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/Clients.html