Back to Content

ServiceWorkerRegistration: installing property

files/en-us/web/api/serviceworkerregistration/installing/index.md

latest778 B
Original Source

{{APIRef("Service Workers API")}}{{SecureContext_Header}} {{AvailableInWorkers}}

The installing read-only property of the {{domxref("ServiceWorkerRegistration")}} interface returns a service worker whose {{domxref("ServiceWorker.state")}} is installing. This property is initially set to null.

Value

A {{domxref("ServiceWorker")}} object, if it is currently in an installing state.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also