SVGAnimationElement: targetElement property
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.
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