Liking cljdoc? Tell your friends :D

web.workers.ServiceWorkerGlobalScope.ev

ServiceWorkerGlobalScope Events.

ServiceWorkerGlobalScope Events.
raw docstring

activatecljs

Event.

Occurs when a ServiceWorkerRegistration acquires a new ServiceWorkerRegistration.active Also available via the ServiceWorkerGlobalScope.onactivate property.

Event.

Occurs when a ServiceWorkerRegistration acquires a new ServiceWorkerRegistration.active
Also available via the ServiceWorkerGlobalScope.onactivate property.
sourceraw docstring

fetchcljs

Event.

Occurs when a fetch() is called. Also available via the ServiceWorkerGlobalScope.onfetch property.

Event.

Occurs when a fetch() is called.
Also available via the ServiceWorkerGlobalScope.onfetch property.
sourceraw docstring

installcljs

Event.

Occurs when a ServiceWorkerRegistration acquires a new ServiceWorkerRegistration.installing Also available via the ServiceWorkerGlobalScope.oninstall property.

Event.

Occurs when a ServiceWorkerRegistration acquires a new ServiceWorkerRegistration.installing
Also available via the ServiceWorkerGlobalScope.oninstall property.
sourceraw docstring

messagecljs

Event.

Occurs when incoming messages are received. Controlled pages use the MessagePort.postMessage() method to send messages to workers. The service worker can optionally send a response back the MessagePort exposed in event.data.port, corresponding to controlled page. Also available via the ServiceWorkerGlobalScope.onmessage property.

Event.

Occurs when incoming messages are received. Controlled pages
use the MessagePort.postMessage() method to send messages to
workers. The service worker can optionally send a response back
the MessagePort exposed in event.data.port, corresponding to
controlled page.
Also available via the ServiceWorkerGlobalScope.onmessage property.
sourceraw docstring

notificationclickcljs

Event.

Occurs when a user clicks on a displayed notification. Also available via the ServiceWorkerGlobalScope.onnotificationclick

Event.

Occurs when a user clicks on a displayed notification.
Also available via the ServiceWorkerGlobalScope.onnotificationclick
sourceraw docstring

notificationclosecljs

Event.

Occurs — when a user closes a displayed notification. Also available via the ServiceWorkerGlobalScope.onnotificationclose

Event.

Occurs — when a user closes a displayed notification.
Also available via the ServiceWorkerGlobalScope.onnotificationclose
sourceraw docstring

pushcljs

Event.

Occurs when a server push notification is received. Also available via the ServiceWorkerGlobalScope.onpush property.

Event.

Occurs when a server push notification is received.
Also available via the ServiceWorkerGlobalScope.onpush property.
sourceraw docstring

pushsubscriptionchangecljs

Event.

Occurs when a push subscription has been invalidated, or is about be invalidated (e.g. when a push service sets an expiration time). Also available via the ServiceWorkerGlobalScope.onpushsubscriptionchange

Event.

Occurs when a push subscription has been invalidated, or is about
be invalidated (e.g. when a push service sets an expiration time).
Also available via the ServiceWorkerGlobalScope.onpushsubscriptionchange
sourceraw docstring

synccljs

Event.

Triggered when a call to SyncManager.register is made from a worker client page. The attempt to sync is made either immediately the network is available or as soon as the network becomes available. Also available via the ServiceWorkerGlobalScope.onsync property.

Event.

Triggered when a call to SyncManager.register is made from a
worker client page. The attempt to sync is made either immediately
the network is available or as soon as the network becomes available.
Also available via the ServiceWorkerGlobalScope.onsync property.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close