SVGAnimatedString: animVal property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨July 2015⁩.

The animVal read-only property of the SVGAnimatedString interface is a string representing the animated value of the reflected attribute.

Value

As string.

If the given attribute or property is being animated, this is the current animated value. If the given attribute or property is not currently being animated, this is the same value as the SVGAnimatedString.baseVal property.

Specifications

Specification
Scalable Vector Graphics (SVG) 2
# __svg__SVGAnimatedString__animVal

Browser compatibility