Share via


onprogress event

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

 

Syntax

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

Remarks

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.