This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The AnimationEffectReadOnly interface of the Web Animations API defines current and future animation effects like KeyframeEffect, which can be passed to Animation objects for playing, and KeyframeEffectReadOnly (which is used by CSS Animations and Transitions).
Properties
AnimationEffectReadOnly.timingRead only- The
AnimationEffectTimingReadOnlyobject associated with the animation containing all the animation's timing values.
Methods
AnimationEffectReadOnly.getComputedTiming()- Returns the calculated timing properties for this Animation Effect.
Specifications
| Specification | Status | Comment |
|---|---|---|
| Web Animations The definition of 'AnimationEffectReadOnly' in that specification. |
Working Draft | Editor's draft. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
| Feature | Chrome | Edge | Firefox | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|---|
| Basic support | Yes | ? | 48 | No | Yes | No |
timing | Yes | No | No | No | Yes | No |
getComputedTiming | Yes | No | No | No | Yes | No |
| Feature | Android webview | Chrome for Android | Edge mobile | Firefox for Android | Opera Android | iOS Safari | Samsung Internet |
|---|---|---|---|---|---|---|---|
| Basic support | Yes | Yes | ? | 48 | Yes | No | ? |
timing | Yes | Yes | No | No | Yes | No | ? |
getComputedTiming | Yes | Yes | No | No | Yes | No | ? |
See also
- Web Animations API
Animation.effect- Inherited by
KeyframeEffectandKeyframeEffectReadOnly

