UpdateAvailableEvent
From Get docs
< @angular/service-workerAngular/docs/8/api/service-worker/updateavailableevent
UpdateAvailableEvent
interface
An event emitted when a new version of the app is available.
interface UpdateAvailableEvent {
type: 'UPDATE_AVAILABLE'
current: {...}
available: {...}
}
Properties
Property | Description |
---|---|
type: 'UPDATE_AVAILABLE'
|
|
current: { hash: string; appData?: Object; }
|
|
available: { hash: string; appData?: Object; }
|
© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v8.angular.io/api/service-worker/UpdateAvailableEvent