Back to Content

SVGAnimatedString: animVal property

files/en-us/web/api/svganimatedstring/animval/index.md

latest512 B
Original Source

{{APIRef("SVG")}}

The animVal read-only property of the {{domxref("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 {{domxref("SVGAnimatedString.baseVal")}} property.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}