AnimationEffectReadOnly

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!
您也可以阅读此文章的English (US)版。

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.

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.timing Read only
The AnimationEffectTimingReadOnly object 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

Feature Chrome Firefox (Gecko) Microsoft Edge Internet Explorer Opera Safari (WebKit)
Basic support No support 48 (48) ? No support No support No support
Feature Android Android Webview Chrome for Android Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile
Basic support ? ? ? 48.0 (48) ? No support No support No support

See also

文档标签和贡献者