SVGAnimatedBoolean

SVG animated boolean interface

The SVGAnimatedBoolean interface is used for attributes of type boolean which can be animated.

Interface overview

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

Instance properties

Name Type Description
baseVal boolean The base value of the given attribute before applying any animations.
animVal boolean 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.

Instance methods

The SVGAnimatedBoolean interface do not provide any specific methods.

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
SVGAnimatedBoolean
animVal
baseVal