MDN self-hosted library · e01.org

SVGAnimatedLengthList: animVal property

SVG

no runnable cells web-api-instance-property upstream source

SVG

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

Browser compatibility

See also