SwUpdatelink
Subscribe to update notifications from the Service Worker, trigger update checks, and forcibly activate updates.
属性
| 属性名 | 类型 | 说明 |
|---|---|---|
| available | 只读 | |
| activated | 只读 | |
| isEnabled | 只读 Returns true if the Service Worker is enabled (supported by the browser and enabled via ServiceWorkerModule). |
方法
参数没有参数。 返回值
|
参数没有参数。 返回值
|