SVGUnload | onunload event

Occurs when a document is removed from a window or frame.

Scalable Vector Graphics: Scripting, Section 18.4.3Internet Explorer 9

Syntax

HTML Attribute <element onunload = "handler(event)">
Event Property object.onunload = handler;
attachEvent Method object.attachEvent("onunload", handler)
addEventListener Method object.addEventListener("SVGUnload", handler, useCapture)

Event information

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

pEvt [in]

Type: IDOMUIEvent

The IDOMEvent object.

Standards information

Remarks

The onunload event occurs when the DOM implementation removes a document from a window or frame. This event applies only to the outermost svg element.

The object or document is removed from the browser window.

To invoke this event, do one of the following:

  • The DOM implementation removes a document from a window or frame.

See also

SVGSVGElement
onunload

 

 

Show:
© 2014 Microsoft