Back to Content

SVGAnimatedLengthList: baseVal property

files/en-us/web/api/svganimatedlengthlist/baseval/index.md

latest1.2 KB
Original Source

{{APIRef("SVG")}}

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

Value

An {{domxref("SVGLengthList")}} object representing the base value of the attribute.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also