-
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 SVGAnimatedPreserveAspectRatio
- Loading branch information
1 parent
d489042
commit 1282c1b
Showing
2 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
files/en-us/web/api/svganimatedpreserveaspectratio/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,33 @@ | ||
--- | ||
title: "SVGAnimatedPreserveAspectRatio: animVal property" | ||
short-title: animVal | ||
slug: Web/API/SVGAnimatedPreserveAspectRatio/animVal | ||
page-type: web-api-instance-property | ||
browser-compat: api.SVGAnimatedPreserveAspectRatio.animVal | ||
--- | ||
|
||
{{APIRef("SVG")}} | ||
|
||
The **`SVGAnimatedPreserveAspectRatio.animVal`** read-only property of the {{domxref("SVGAnimatedPreserveAspectRatio")}} interface represents the current animated value of the `preserveAspectRatio` attribute of an SVG element. | ||
|
||
This property provides access to the animated state of the `preserveAspectRatio` attribute during an animation. If the attribute is not currently being animated, `animVal` will be the same as `baseVal`. | ||
|
||
## Value | ||
|
||
An {{domxref("SVGPreserveAspectRatio")}} object that represents the animated value of the `preserveAspectRatio` attribute. | ||
|
||
- If the attribute is animated, `animVal` reflects the current animation state. | ||
- If the attribute is not animated, `animVal` will be identical to `baseVal`. | ||
|
||
## Specifications | ||
|
||
{{Specifications}} | ||
|
||
## Browser compatibility | ||
|
||
{{Compat}} | ||
|
||
## See also | ||
|
||
- {{domxref("SVGAnimatedPreserveAspectRatio.baseVal")}} | ||
- {{domxref("SVGPreserveAspectRatio")}} |
30 changes: 30 additions & 0 deletions
30
files/en-us/web/api/svganimatedpreserveaspectratio/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,30 @@ | ||
--- | ||
title: "SVGAnimatedPreserveAspectRatio: baseVal property" | ||
short-title: baseVal | ||
slug: Web/API/SVGAnimatedPreserveAspectRatio/baseVal | ||
page-type: web-api-instance-property | ||
browser-compat: api.SVGAnimatedPreserveAspectRatio.baseVal | ||
--- | ||
|
||
{{APIRef("SVG")}} | ||
|
||
The **`SVGAnimatedPreserveAspectRatio.baseVal`** read-only property of the {{domxref("SVGAnimatedPreserveAspectRatio")}} interface represents the base (non-animated) value of the `preserveAspectRatio` attribute of an SVG element. | ||
|
||
This property provides access to the current value of the `preserveAspectRatio` attribute before any animation is applied. It is returned as an {{domxref("SVGPreserveAspectRatio")}} object. | ||
|
||
## Value | ||
|
||
An {{domxref("SVGPreserveAspectRatio")}} object that represents the non-animated value of the `preserveAspectRatio` attribute. | ||
|
||
## Specifications | ||
|
||
{{Specifications}} | ||
|
||
## Browser compatibility | ||
|
||
{{Compat}} | ||
|
||
## See also | ||
|
||
- {{domxref("SVGAnimatedPreserveAspectRatio.animVal")}} | ||
- {{domxref("SVGPreserveAspectRatio")}} |