Back to Content

SVGAnimatedLength

files/en-us/web/api/svganimatedlength/index.md

latest959 B
Original Source

{{APIRef("SVG")}}

The SVGAnimatedLength interface represents attributes of type <length> which can be animated.

Instance properties

  • {{domxref("SVGAnimatedLength.baseVal", "baseVal")}} {{ReadOnlyInline}}
    • : An {{domxref("SVGLength")}} representing the base value of the given attribute before applying any animations.
  • {{domxref("SVGAnimatedLength.animVal", "animVal")}} {{ReadOnlyInline}}
    • : If the given attribute or property is being animated, an {{domxref("SVGLength")}} containing the current animated value of the attribute or property. If the given attribute or property is not currently being animated, an {{domxref("SVGLength")}} containing the same value as baseVal.

Instance methods

This interface does not implement any specific methods.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{domxref("SVGLength")}}