SVGAnimatedInteger

SVG animated integer interface

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

Interface overview

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

Properties

Name Type Description
baseVal long The base value of the given attribute before applying any animations.
animVal long 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 SVGAnimatedInteger 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
SVGAnimatedInteger
5
12
3
9
≤12.1
5
≤37
18
4
≤12.1
4
1.0
animVal
6
12
3
10
≤12.1
6
≤37
18
4
≤12.1
6
1.0
baseVal
6
12
3
10
≤12.1
6
≤37
18
4
≤12.1
6
1.0

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedInteger