The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

onprogress event

Event handler provided to indicate that the resources for the cache are still being downloaded.


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


Event handler parameters

handler [in]

Type: Function

Event handler


If more than one event is triggered and the progress event is included, the next events may include progress, error, cached, or updateready.

Alternatively, you could use an anonymous delegate function such as

object.onprogress = function (e) { … }

where e is the cached event.

See also