SVGAnimationElement: targetElement-Eigenschaft

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.

Die schreibgeschützte targetElement-Eigenschaft der SVGAnimationElement-Schnittstelle bezieht sich auf das Element, das animiert wird. Wenn kein Ziel-Element animiert wird (zum Beispiel, weil das href-Attribut ein unbekanntes Element angibt), ist der zurückgegebene Wert null.

Wert

Ein SVGElement-Objekt.

Spezifikationen

Specification
SVG Animations Level 2
# __svg__SVGAnimationElement__targetElement

Browser-Kompatibilität

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
targetElement

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support