Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace serviceWorkerRegistration

Index

Type aliases

Functions

Type aliases

Config: { onSuccess?: any; onUpdate?: any }

Type declaration

  • onSuccess?:function
    • onSuccess(serviceWorkerRegistration: ServiceWorkerRegistration): void
  • onUpdate?:function
    • onUpdate(serviceWorkerRegistration: ServiceWorkerRegistration): void

Functions

  • register(config?: Config): void
  • unregister(): void

Generated using TypeDoc