Results 21 - 40 of 117

Clients.matchAll()

The matchAll() method of the Clients interface returns a Promise for a list of service worker clients. 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. 
API Clients Experimental Expérimental Method Reference Service Workers ServiceWorker

InstallEvent

The parameter passed into the oninstall handler, the InstallEvent interface represents an install action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. As a child of ExtendableEvent, it ensures that functional events such as FetchEvent are not dispatched during installation. 
API InstallEvent Interface offline Offline Reference Service Workers ServiceWorker Workers

InstallEvent.activeWorker

The activeWorker read-only property of the InstallEvent interface returns the ServiceWorker that is currently actively controlling the page.
activeWorker API InstallEvent Property Reference Service Workers ServiceWorker

Navigator.serviceWorker

The Navigator.serviceWorker read-only property returns the ServiceWorkerContainer object for the associated document, which provides access to registration, removal, upgrade, and communication with the ServiceWorker.
API Navigator Property Reference Référence Service Workers ServiceWorker

Push API

The Push API gives web applications the ability to receive messages pushed to them from a server, whether or not the web app is in the foreground, or even currently loaded, on a user agent. This lets developers deliver asynchronous notifications and updates to users that opt in, resulting in better engagement with timely new content.
API Experimental Landing Notifications Push Reference Service Workers