SVGAnimatedLengthList: 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 January 2020.

The animVal read-only property of the SVGAnimatedLengthList interface represents the animated value of an attribute that accepts a list of <length>, <percentage>, or <number> values.

Some SVG attributes, like the x, y, dx, and dy attributes of the <tspan> and <text> elements, accept a list of length, percentages, or numbers as a value. This property provides access to the current animated state of the attribute as a live SVGLengthList object.

Value

An SVGLengthList object representing the animated value of the attribute.

Specifications

Specification
Scalable Vector Graphics (SVG) 2
# __svg__SVGAnimatedLengthList__animVal

Browser compatibility

BCD tables only load in the browser

See also