SVGAnimationElement: targetElement property

The SVGAnimationElement.targetElement property refers to the element which is being animated. If no target element is being animated (for example, because the href attribute specifies an unknown element), the value returned is null.

Value

A SVGElement object.

Specifications

Specification
SVG Animations Level 2
# __svg__SVGAnimationElement__targetElement

Browser compatibility

BCD tables only load in the browser