{{ SeeCompatTable() }} {{ APIRef("Web Animations API") }}
The AnimationEffectReadOnly
interface of the Web Animations API defines current and future "Animation Effects" like {{domxref("KeyframeEffect")}}, which can be passed to {{domxref("Animation.Animation")}} objects for playing, and {{domxref("KeyframeEffectReadOnly")}} which is used by {{domxref("KeyframeEffect")}} (inherited by CSS Animations and Transitions).
Properties
- {{domxref("AnimationEffectReadOnly.timing")}} {{readonlyInline}}
- Returns the input timing properties specified for the Animation Effect.
Methods
- {{domxref("AnimationEffectReadOnly.getComputedTiming()")}}
- Returns the calculated timing properties for this Animation Effect.
Specifications
Specification | Status | Comment |
---|---|---|
{{SpecName('Web Animations', '#the-animationeffectreadonly-interface', 'AnimationEffectReadOnly' )}} | {{Spec2('Web Animations')}} | Editor's draft. |
Browser compatibility
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
Feature | Android | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|---|---|
Basic support | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | {{ CompatUnknown}} | {{CompatUnknown}} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
See also
- Web Animations API
- Inherited by {{domxref("KeyframeEffect")}} and {{domxref("KeyframeEffectReadOnly")}}