onupdateready event

Event handler provided to indicate that previously cached resources have been updated.

Internet Explorer 10

Syntax

HTML Attribute <element onupdateready = "handler(event)">
Event Property object.onupdateready = handler;
addEventListener Method object.addEventListener("updateready", handler, useCapture)

Event handler parameters

handler [in]

Type: Function

Event handler

Remarks

If this event indicates that the resources have been redownloaded, the script can use swapCache to switch to the new cache.

If there is more than one event, the updateready event will be the last one in the sequence.

Alternatively, you could use an anonymous delegate function such as


object.onupdateready = function (e) { … }

where e is the cached event.

See also

ApplicationCache

 

 

Show:
© 2014 Microsoft