SVGAnimatedEnumeration

SVG animated enumeration interface

The SVGAnimatedEnumeration interface is used for attributes whose value must be a constant from a particular enumeration and which can be animated.

Interface overview

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

Properties

Name Type Description
baseVal unsigned short The base value of the given attribute before applying any animations.
animVal unsigned short 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 SVGAnimatedEnumeration 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
SVGAnimatedEnumeration
1
12
1.5
9
≤12.1
3
≤37
18
4
≤12.1
1
1.0
animVal
1
12
1.5
9
≤12.1
3
≤37
18
4
≤12.1
1
1.0
baseVal
1
12
1.5
9
≤12.1
3
≤37
18
4
≤12.1
1
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/SVGAnimatedEnumeration