Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. AnimationEffect

AnimationEffect

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.

TheAnimationEffect interface of theWeb Animations API is an interface representing animation effects.

AnimationEffect is an abstract interface and so isn't directly instantiable. However, concrete interfaces such asKeyframeEffect inherit from it, and instances of these interfaces can be passed toAnimation objects for playing, and may also be used byCSS Animations andTransitions.

Instance methods

AnimationEffect.getTiming()

Returns the object associated with the animation containing all the animation's timing values.

AnimationEffect.getComputedTiming()

Returns the calculated timing properties for thisAnimationEffect.

AnimationEffect.updateTiming()

Updates the specified timing properties of thisAnimationEffect.

Specifications

Specification
Web Animations
# the-animationeffect-interface

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp