SVGAnimatedString

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 SVGAnimatedString interface represents string attributes which can be animated from each SVG declaration. You need to create SVG attribute before doing anything else, everything should be declared inside this.

Instance properties

SVGAnimatedString.animVal Read only

A string representing the animated value of the reflected attribute value. If the given attribute is not currently being animated, it contains the same value as baseVal.

SVGAnimatedString.baseVal

A string representing the base value of the reflected attribute before applying any animations.

Instance methods

The SVGAnimatedString interface do not provide any specific methods.

Specifications

Specification
Scalable Vector Graphics (SVG) 2
# InterfaceSVGAnimatedString

Browser compatibility

See also