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

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
baseVal

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

See also