Back to Content

SVGAnimatedNumberList

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

latest1.0 KB
Original Source

{{APIRef("SVG")}}

The SVGAnimatedNumberList interface represents a list of attributes of type <number> which can be animated.

Instance properties

  • {{domxref("SVGAnimatedNumberList.baseVal")}} {{ReadOnlyInline}}
    • : An {{domxref("SVGNumberList")}} that represents the base value of the given attribute before applying any animations.
  • {{domxref("SVGAnimatedNumberList.animVal")}} {{ReadOnlyInline}}
    • : A read only {{ domxref("SVGNumberList") }} that represents the current animated value of the given attribute. If the given attribute is not currently being animated, then the {{ domxref("SVGNumberList") }} will have the same contents as baseVal. The object referenced by animVal will always be distinct from the one referenced by baseVal, even when the attribute is not animated.

Instance methods

The SVGAnimatedNumberList interface do not provide any specific methods.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}