The SVGAnimatedPreserveAspectRatio interface represents attributes of type SVGPreserveAspectRatio which can be animated.

MDN Reference

interface SVGAnimatedPreserveAspectRatio {
    animVal: SVGPreserveAspectRatio;
    baseVal: SVGPreserveAspectRatio;
}
Index

Properties

Properties

The animVal read-only property of the SVGAnimatedPreserveAspectRatio interface represents the value of the preserveAspectRatio attribute of an SVG element after any animations or transformations are applied.

MDN Reference

The baseVal read-only property of the SVGAnimatedPreserveAspectRatio interface represents the base (non-animated) value of the preserveAspectRatio attribute of an SVG element.

MDN Reference