Skip to main content

SVGAnimatedBoolean

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

MDN Reference

Properties

animVal

readonly animVal: boolean;

The animVal read-only property of the SVGAnimatedBoolean interface represents the current animated value of the associated animatable boolean SVG attribute. If the attribute is not animated, animVal is the same as SVGAnimatedBoolean.baseVal.

MDN Reference


baseVal

baseVal: boolean;

The baseVal property of the SVGAnimatedBoolean interface is the value of the associated animatable boolean SVG attribute in its base (none-animated) state. It reflects the value of the associated animatable boolean attribute when no animations are applied.

MDN Reference