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
SVGAnimatedNumberrepresenting the base value as a floating point value of the given attribute before applying any animations. animValRead only-
If the given attribute or property is being animated, an
SVGAnimatedNumbercontaining the current animated value of the attribute or property. If the given attribute or property is not currently being animated, anSVGAnimatedNumbercontaining the same value asbaseVal.
Instance methods
The SVGAnimatedNumber interface do not provide any specific methods.
Specifications
| Specification |
|---|
| Scalable Vector Graphics (SVG) 2> # InterfaceSVGAnimatedNumber> |
Browser compatibility
Loading...