UpdateActivatedEvent

From Get docs
< @angular/service-workerAngular/docs/9/api/service-worker/updateactivatedevent


UpdateActivatedEvent

interface

An event emitted when a new version of the app has been downloaded and activated.

interface UpdateActivatedEvent {
  type: 'UPDATE_ACTIVATED'
  previous?: {...}
  current: {...}
}

Properties

Property Description
type: 'UPDATE_ACTIVATED'
previous?: { hash: string; appData?: Object; }
current: { hash: string; appData?: Object; }


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