The SVGAnimatedNumber interface is used for attributes which take a list of numbers and which can be animated.
On this page
SVGAnimatedNumberList
SVG animated number list interface
Interface overview
| Also implement | None |
|---|---|
| Methods | None |
| Properties |
|
| Normative document | SVG 1.1 (2nd Edition) |
Instance properties
SVGAnimatedNumberList.baseValRead only-
A
SVGNumberListthat represents the base value of the given attribute before applying any animations. SVGAnimatedNumberList.animValRead only-
A read only
SVGNumberListthat represents the current animated value of the given attribute. If the given attribute is not currently being animated, then theSVGNumberListwill have the same contents asbaseVal. The object referenced byanimValwill always be distinct from the one referenced bybaseVal, even when the attribute is not animated.
Instance methods
The SVGAnimatedNumberList interface do not provide any specific methods.
Browser compatibility
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
SVGAnimatedNumberList |
6 | 12 | 1.5 | 9 | ≤12.1 | 5 | 4.4 | 18 | 4 | ≤12.1 | 4 | 1.0 |
animVal |
6 | 12 | 3 | 10 | ≤12.1 | 6 | 4.4 | 18 | 4 | ≤12.1 | 6 | 1.0 |
baseVal |
6 | 12 | 3 | 10 | ≤12.1 | 6 | 4.4 | 18 | 4 | ≤12.1 | 6 | 1.0 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumberList