W3cubDocs

/Angular

VersionReadyEvent

interface

An event emitted when a new version of the app is available.

interface VersionReadyEvent {
  type: 'VERSION_READY'
  currentVersion: {...}
  latestVersion: {...}
}

See also

Properties

Property Description
type: 'VERSION_READY'
currentVersion: { hash: string; appData?: object; }
latestVersion: { hash: string; appData?: object; }

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