The SVGAnimatedNumber
interface is used for attributes which take a list of numbers and which can be animated.
The SVGAnimatedNumber
interface is used for attributes which take a list of numbers and which can be animated.
Also implement | None |
---|---|
Methods | None |
Properties |
|
Normative document | SVG 1.1 (2nd Edition) |
SVGAnimatedNumberList.baseVal
Read only
A SVGNumberList
that represents the base value of the given attribute before applying any animations.
SVGAnimatedNumberList.animVal
Read only
A read only SVGNumberList
that represents the current animated value of the given attribute. If the given attribute is not currently being animated, then the SVGNumberList
will have the same contents as baseVal
. The object referenced by animVal
will always be distinct from the one referenced by baseVal
, even when the attribute is not animated.
The SVGAnimatedNumberList
interface do not provide any specific methods.
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