English
WorkboxLifecycleWaitingEvent
Interface @vite-pwa/workbox-windowA lifecycle event for a service worker waiting to activate.
Properties
| Property | Type | Default | Description |
|---|---|---|---|
isExternal? | boolean | Whether this event is associated with an external service worker. | |
isUpdate? | boolean | Whether a service worker was already controlling when register() was called. | |
originalEvent? | Event | The browser event that triggered this event, when available. | |
sw? | ServiceWorker | The service worker associated with this event. | |
target? | WorkboxEventTarget | The Workbox instance that dispatched this event. | |
type | keyof WorkboxLifecycleEventMap | The event type. | |
wasWaitingBeforeRegister? | boolean | Whether the service worker was already waiting when register() was called. |