onsuspend event
Occurs if the load operation is intentionally halted. Starting with Microsoft Edge, also occurs if the media network state becomes NETWORK_IDLE.
Syntax
Event Property | object.onsuspend = handler; |
addEventListener Method | object.addEventListener("suspend", handler, useCapture) |
Event handler parameters
handler [in]
Type: functionEvent handler object.
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.12
Remarks
This event occurs when the browser stops fetching data temporarily. (Not currently used by Windows Internet Explorer 9.)
This event occurs when the app stops fetching data temporarily.
See also
Reference