SVGAnimatedString: animVal property

AnimVal attribute or animVal property contains the same value as the SVGAnimatedString.baseVal property. If the given attribute or property is being animated, contains the current animated value of the attribute or property. If the given attribute or property is not currently being animated, then it contains the same value as baseVal

Note: The animVal property is a read only property.

Syntax

js
const currentValue = object.animVal

Specifications

Specification
Scalable Vector Graphics (SVG) 2
# __svg__SVGAnimatedString__animVal

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
animVal