setFrames
Summary
A Keyframe object or sequence of Keyframe objects used to replace the set of keyframes that make up this effect.
Method of apis/web_animations/KeyframeEffectapis/web_animations/KeyframeEffect
Syntax
var = .setFrames(frames);
Parameters
frames
- Data-type
- Object
The processing of the frames parameter is defined in §5.17.1 Processing a sequence of Keyframe objects or a single item. Subsequently, the resulting sequence of Keyframe objects is normalized using the procedure in §5.17.3 Normalizing a sequence of keyframes before storing.
Return Value
Returns an object of type