ondownloading event
Event handler provided to determine if the browser has found an update and is downloading it, or is downloading the resources for the first time.
Syntax
HTML Attribute | <element ondownloading = "handler(event)"> |
Event Property | object.ondownloading = handler; |
addEventListener Method | object.addEventListener("downloading", handler, useCapture) |
Event handler parameters
handler [in]
Type: FunctionEvent handler
Remarks
If more than one event is triggered and the downloading event is included, the next events may include progress, error, cached, or updateready.
Alternatively, you could use an anonymous delegate function such as
object.ondownloading = function (e) { … }
where e is the cached event.