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

BCD tables only load in the browser