SVGAnimatedNumber

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

The SVGAnimatedNumber interface represents attributes of type <number> which can be animated.

Instance properties

baseVal

An SVGAnimatedNumber representing the base value as a floating point value of the given attribute before applying any animations.

animVal Read only

If the given attribute or property is being animated, an SVGAnimatedNumber containing the current animated value of the attribute or property. If the given attribute or property is not currently being animated, an SVGAnimatedNumber containing the same value as baseVal.

Instance methods

The SVGAnimatedNumber interface do not provide any specific methods.

Specifications

Specification
Scalable Vector Graphics (SVG) 2
# InterfaceSVGAnimatedNumber

Browser compatibility