OnScrollEventAttribute: onscroll

Description Available Attribute Values Animatable Used by the Elements

Description

Sets the script to execute when an scroll event is received

Available Attribute Values

The value is a script, likely ecmascript (i.e. javascript).

<script>

Specifies what to execute when an SVGScroll event is fired. SVGScroll event occurs whenever the view is shifted. This occurs in one of two ways: direct user intervention or a change on the currentTranslate property. The SVGScroll event applies only to the outermost svg element.

Animatable

Not Animatable

Used by the Elements

Structural Container Elements

svg


mslegrand/svgR documentation built on Jan. 21, 2020, 2:59 p.m.