Share via


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: function

    Event handler object.

Standards information

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

onstalled

onwaiting