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

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
targetElement