SVGAnimatedNumber

SVG animated number interface

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

Interface overview

Also implement None
Methods None
Properties
  • readonly float baseVal
  • readonly float animVal
Normative document SVG 1.1 (2nd Edition)

Properties

Name Type Description
baseVal float The base value of the given attribute before applying any animations.
animVal float If the given attribute or property is being animated, contains the current animated value of the attribute or property. If the given attribute or property is not currently being animated, contains the same value as baseVal.

Methods

The SVGAnimatedNumber interface do not provide any specific methods.

Browser compatibility

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? (Yes) ? ? ? ?
Feature Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support No support (Yes) ? ? ? ?

 

Document Tags and Contributors

 Contributors to this page: abbycar, fscholz, kscarfone, Sheppy, Jeremie
 Last updated by: abbycar,