updateready

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!
您也可以阅读此文章的English (US)版。

The updateready event is fired when the resources listed in the application cache manifest have been newly redownloaded, and the script can use swapCache() to switch to the new cache.

General info

Specification
Offline
Interface
Event
Bubbles
No
Cancelable
No
Target
applicationCache
Default Action
None

Properties

Property Type Description
target EventTarget (DOM element) The event target (the topmost target in the DOM tree). Read Only.
type string The type of event. Read only.
canBubble boolean Does the event normally bubble? Read only.
cancelable boolean Is it possible to cancel the event? Read only.

See also

文档标签和贡献者