Search completed in 1.26 seconds.
4 results for "controllerchange":
ServiceWorkerContainer.oncontrollerchange - Web APIs
WebAPIServiceWorkerContaineroncontrollerchange
the oncontrollerchange property of the serviceworkercontainer interface is an event handler fired whenever a controllerchange event occurs — when the document's associated serviceworkerregistration acquires a new active worker.
... syntax serviceworkercontainer.oncontrollerchange = function(controllerchangeevent) { ...
... } example // tbd specifications specification status comment service workersthe definition of 'serviceworkercontainer: oncontrollerchange' in that specification.
ServiceWorkerContainer - Web APIs
WebAPIServiceWorkerContainer
events controllerchange occurs when the document's associated serviceworkerregistration acquires a new active worker.
... also available via the serviceworkercontainer.oncontrollerchange property.
... navigator.serviceworker.oncontrollerchange = function() { console.log('this page is now controlled by:', navigator.serviceworker.controller); }; } else { console.log('service workers are not supported.'); } specifications specification status comment service workersthe definition of 'serviceworkercontainer' in that specification.
Index - Web APIs
WebAPIIndex
this triggers a "controllerchange" event on navigator.serviceworker in any clients that become controlled by this service worker.
... 3945 serviceworkercontainer.oncontrollerchange api, experimental, interface, property, reference, service workers, serviceworker, serviceworkercontainer, onchange the oncontrollerchange property of the serviceworkercontainer interface is an event handler fired whenever a controllerchange event occurs — when the document's associated serviceworkerregistration acquires a new serviceworkerregistration.active worker.
Clients.claim() - Web APIs
WebAPIClientsclaim
this triggers a "controllerchange" event on navigator.serviceworker in any clients that become controlled by this service worker.