Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
Information
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.

suspend | onsuspend event

Occurs if the load operation is intentionally halted. Starting in Microsoft Edge, also occurs if the media network state becomes NETWORK_IDLE.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.12

 

Syntax

Event Property object.onsuspend = handler;
addEventListener Method object.addEventListener("suspend", handler, useCapture)

 

Event handler parameters

handler [in]

Type: function

Event handler object.

Standards information

Remarks

This event occurs when the browser stops fetching data temporarily. (Not currently used by a Windows Store app using JavaScript.)

This event occurs when the app stops fetching data temporarily.

See also

audio element
audio object
document
source element
video element
video object
window object
Reference
onstalled
onwaiting

 

 

Show:
© 2015 Microsoft