Animation: Eigenschaft effect

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2020.

Die Animation.effect-Eigenschaft der Web Animations API ruft den Zieleffekt einer Animation ab und legt ihn fest. Der Zieleffekt kann entweder ein Effektobjekt eines Typs sein, der auf AnimationEffect basiert, wie z.B. KeyframeEffect, oder null.

Wert

Ein AnimationEffect-Objekt, das den Zieltanimationseffekt für die Animation beschreibt, oder null, um anzuzeigen, dass kein aktiver Effekt vorhanden ist.

Spezifikationen

Specification
Web Animations
# dom-animation-effect

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
effect

Legend

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

Full support
Full support

Siehe auch