W3cubDocs

/Angular

VersionDetectedEvent

interface

An event emitted when the service worker has detected a new version of the app on the server and is about to start downloading it.

interface VersionDetectedEvent {
  type: 'VERSION_DETECTED'
  version: {...}
}

See also

Properties

Property Description
type: 'VERSION_DETECTED'
version: { hash: string; appData?: object; }

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/service-worker/VersionDetectedEvent