This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

KeyframeEffect

Summary

Keyframe animation effects are represented by the KeyframeEffect interface.

Inherits from AnimationEffectAnimationEffect

Properties

spacing
The spacing mode to use for this animation effect.

Methods

constructor
Creates a new KeyframeEffect object for the given set of keyframes.
getFrames
Returns the keyframes that make up this effect as a sequence of ComputedKeyframe objects.
setFrames
A Keyframe object or sequence of Keyframe objects used to replace the set of keyframes that make up this effect.

Events

No events.

Inherited from AnimationEffect

Properties

composite
The possible values of an animation effect’s composition behavior are represented by the CompositeOperation enumeration.
iterationComposite
The iteration composite operation property of this animation effect as specified by one of the IterationCompositeOperation enumeration values.
name
A string used to identify the effect.

Methods

clone
Creates and returns a new object of the same type as this object’s most-derived interface such that it will produce the same output as this object.

Events

No events.