Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SVGScroll | onscroll event

Occurs when a document view is being moved along the x-axis, y-axis, or both axes.

Scalable Vector Graphics: Scripting, Section 18.4.3Internet Explorer 9


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

Event information


Event handler parameters

pEvt [in]

Type: IDOMUIEvent

The IDOMEvent object.

Standards information


The onscroll event occurs when a document view is being moved through a direct user interaction or any change in the currentTranslate property that is available on the svg element. This event applies only to the outermost svg element and is dispatched after the movement has taken place.

The contents of an object scroll until new portions of the object become visible.

To invoke this event, do one of the following:

  • The user shifts the document view.

See also




Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.