diff --git a/files/en-us/web/api/svganimatedlengthlist/animval/index.md b/files/en-us/web/api/svganimatedlengthlist/animval/index.md new file mode 100644 index 000000000000000..c830eec523a87e7 --- /dev/null +++ b/files/en-us/web/api/svganimatedlengthlist/animval/index.md @@ -0,0 +1,32 @@ +--- +title: "SVGAnimatedLengthList: animVal property" +short-title: animVal +slug: Web/API/SVGAnimatedLengthList/animVal +page-type: web-api-instance-property +browser-compat: api.SVGAnimatedLengthList.animVal +--- + +{{APIRef("SVG")}} + +The **`animVal`** read-only property of the {{domxref("SVGAnimatedLengthList")}} interface represents the animated value of an attribute that accepts a list of [``](/en-US/docs/Web/SVG/Content_type#length), [``](/en-US/docs/Web/SVG/Content_type#percentage), or [``](/en-US/docs/Web/SVG/Content_type#number) values. + +Some SVG attributes, like the `x`, `y`, `dx`, and `dy` attributes of the [``](/en-US/docs/Web/SVG/Element/tspan) and [``](/en-US/docs/Web/SVG/Element/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 {{domxref("SVGLengthList")}} object. + +## Value + +An {{domxref("SVGLengthList")}} object representing the animated value of the attribute. + +## Specifications + +{{Specifications}} + +## Browser compatibility + +{{Compat}} + +## See also + +- [``](/en-US/docs/Web/SVG/Content_type#length) +- [``](/en-US/docs/Web/SVG/Content_type#percentage) +- [``](/en-US/docs/Web/SVG/Content_type#number) +- {{domxref("SVGLengthList")}} diff --git a/files/en-us/web/api/svganimatedlengthlist/baseval/index.md b/files/en-us/web/api/svganimatedlengthlist/baseval/index.md new file mode 100644 index 000000000000000..77deb67013436e3 --- /dev/null +++ b/files/en-us/web/api/svganimatedlengthlist/baseval/index.md @@ -0,0 +1,32 @@ +--- +title: "SVGAnimatedLengthList: baseVal property" +short-title: baseVal +slug: Web/API/SVGAnimatedLengthList/baseVal +page-type: web-api-instance-property +browser-compat: api.SVGAnimatedLengthList.baseVal +--- + +{{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 [``](/en-US/docs/Web/SVG/Content_type#length), [``](/en-US/docs/Web/SVG/Content_type#percentage), or [``](/en-US/docs/Web/SVG/Content_type#number) values. + +Some SVG attributes, like the `x`, `y`, `dx`, and `dy` attributes of the [``](/en-US/docs/Web/SVG/Element/tspan) and [``](/en-US/docs/Web/SVG/Element/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 + +- [``](/en-US/docs/Web/SVG/Content_type#length) +- [``](/en-US/docs/Web/SVG/Content_type#percentage) +- [``](/en-US/docs/Web/SVG/Content_type#number) +- {{domxref("SVGLengthList")}} diff --git a/files/en-us/web/api/svganimatedlengthlist/index.md b/files/en-us/web/api/svganimatedlengthlist/index.md index 645d5579ca9193c..95554d4f9a7088d 100644 --- a/files/en-us/web/api/svganimatedlengthlist/index.md +++ b/files/en-us/web/api/svganimatedlengthlist/index.md @@ -62,14 +62,14 @@ The `SVGAnimatedLengthList` interface is used for attributes of type {{ domxref( - baseVal + {{domxref("SVGAnimatedLengthList.baseVal", "baseVal")}} {{ domxref("SVGLengthList") }} The base value of the given attribute before applying any animations. - animVal + {{domxref("SVGAnimatedLengthList.animVal", "animVal")}} {{ domxref("SVGLengthList") }} A read only {{ domxref("SVGLengthList") }} representing the