-
Notifications
You must be signed in to change notification settings - Fork 22.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDN Feature Pages for SVGAnimatedLengthList (#37071)
* MDN Feature Pages for SVGAnimatedLengthList * add: link to content types * fix: see also section with relevant links * fix: content * Update files/en-us/web/api/svganimatedlengthlist/animval/index.md Co-authored-by: Estelle Weyl <[email protected]> * add examples * fix: attributes context * fix: syntax issue * removed extra content * Update files/en-us/web/api/svganimatedlengthlist/animval/index.md Co-authored-by: Estelle Weyl <[email protected]> * content fixes * Update files/en-us/web/api/svganimatedlengthlist/animval/index.md Co-authored-by: Estelle Weyl <[email protected]> * Update files/en-us/web/api/svganimatedlengthlist/baseval/index.md Co-authored-by: Estelle Weyl <[email protected]> --------- Co-authored-by: Estelle Weyl <[email protected]>
- Loading branch information
1 parent
498b20f
commit 491fc99
Showing
3 changed files
with
66 additions
and
2 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
files/en-us/web/api/svganimatedlengthlist/animval/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 [`<length>`](/en-US/docs/Web/SVG/Content_type#length), [`<percentage>`](/en-US/docs/Web/SVG/Content_type#percentage), or [`<number>`](/en-US/docs/Web/SVG/Content_type#number) values. | ||
|
||
Some SVG attributes, like the `x`, `y`, `dx`, and `dy` attributes of the [`<tspan>`](/en-US/docs/Web/SVG/Element/tspan) and [`<text>`](/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 | ||
|
||
- [`<length>`](/en-US/docs/Web/SVG/Content_type#length) | ||
- [`<percentage>`](/en-US/docs/Web/SVG/Content_type#percentage) | ||
- [`<number>`](/en-US/docs/Web/SVG/Content_type#number) | ||
- {{domxref("SVGLengthList")}} |
32 changes: 32 additions & 0 deletions
32
files/en-us/web/api/svganimatedlengthlist/baseval/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 [`<length>`](/en-US/docs/Web/SVG/Content_type#length), [`<percentage>`](/en-US/docs/Web/SVG/Content_type#percentage), or [`<number>`](/en-US/docs/Web/SVG/Content_type#number) values. | ||
|
||
Some SVG attributes, like the `x`, `y`, `dx`, and `dy` attributes of the [`<tspan>`](/en-US/docs/Web/SVG/Element/tspan) and [`<text>`](/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 | ||
|
||
- [`<length>`](/en-US/docs/Web/SVG/Content_type#length) | ||
- [`<percentage>`](/en-US/docs/Web/SVG/Content_type#percentage) | ||
- [`<number>`](/en-US/docs/Web/SVG/Content_type#number) | ||
- {{domxref("SVGLengthList")}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters