SVGLoad | onload event

Occurs when the browser has fully parsed the element and all of its descendants.

Scalable Vector Graphics: Scripting, Section 18.4.2Internet Explorer 9

Syntax

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

Event information

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

pEvt [in]

Type: IDOMUIEvent

The IDOMEvent object.

Standards information

Remarks

The onload event occurs when the browser has fully parsed the element and its descendants and is ready to act appropriately on that element, such as rendering the element to the target device. Before the event occurs, the browser must have loaded, parsed, and prepared referenced external resources for rendering. Optional external resources are not required to be ready for the event to occur.

The object that the event is specified for is loaded.

To invoke this event, do one of the following:

  • A user opens a page in the browser to fire this event for the document or any object within it.

See also

SVGAElement
SVGCircleElement
SVGClipPathElement
SVGDefsElement
SVGDescElement
SVGEllipseElement
SVGGElement
SVGGradientElement
SVGImageElement
SVGLineElement
SVGMarkerElement
SVGMaskElement
SVGMetadataElement
SVGPathElement
SVGPatternElement
SVGPolygonElement
SVGPolylineElement
SVGRectElement
SVGScriptElement
SVGStopElement
SVGStyleElement
SVGSVGElement
SVGSwitchElement
SVGSymbolElement
SVGTextElement
SVGTextPathElement
SVGTSpanElement
SVGUseElement
SVGViewElement

 

 

Show:
© 2014 Microsoft