SVGAnimatedBoolean

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

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.

Specifications

Specification
Scalable Vector Graphics (SVG) 2
# InterfaceSVGAnimatedBoolean

Browser compatibility

BCD tables only load in the browser