serviceWorker property
ServiceWorker
get
serviceWorker
@AvailableInWorkers("service")
The serviceWorker read-only property of the
ServiceWorkerGlobalScope interface returns a reference to the
ServiceWorker object, which represents the service worker.
Implementation
external ServiceWorker get serviceWorker;