SVGAnimatedLengthList: baseVal 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 baseVal read-only property of the SVGAnimatedLengthList interface represents the base (non-animated) value of an animatable 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 reflects the attribute value, in its non-animated state, as a live SVGLengthList object.

Value

An SVGLengthList object representing the base value of the attribute.

Specifications

Specification
Scalable Vector Graphics (SVG) 2
# __svg__SVGAnimatedLengthList__baseVal

Browser compatibility

BCD tables only load in the browser

See also