Back to Content

SVGAnimatedInteger

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

latest791 B
Original Source

{{APIRef("SVG")}}

The SVGAnimatedInteger interface is used for attributes of basic type <integer> which can be animated.

Instance properties

  • {{domxref("SVGAnimatedInteger.baseVal", "baseVal")}}
    • : An integer representing the base value of the given attribute before applying any animations.
  • {{domxref("SVGAnimatedInteger.animVal", "animVal")}} {{ReadOnlyInline}}
    • : An integer representing the current animated value of the given attribute. If the given attribute is not currently being animated, then it contains the same value as baseVal.

Instance methods

The SVGAnimatedInteger interface does not provide any specific methods.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}