state property
ServiceWorkerState
get
state
The state read-only property of the
ServiceWorker interface returns a string representing the current state
of the service worker. It can be one of the following values: parsed,
installing,
installed, activating, activated, or
redundant.
Implementation
external ServiceWorkerState get state;