SVGAnimatedBoolean

Baseline Widely available

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

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

Instance properties

SVGAnimatedBoolean.baseVal

A boolean representing the base value of the given attribute before applying any animations.

SVGAnimatedBoolean.animVal Read only

A boolean representing the current animated value of the given attribute. If the given attribute is not currently being animated, then it contains the same value as baseVal.

Instance methods

The SVGAnimatedBoolean interface does not provide any specific methods.

Specifications

Specification
Scalable Vector Graphics (SVG) 2
# InterfaceSVGAnimatedBoolean

Browser compatibility