This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use 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 spec changes.
The Animation
.playbackRate
property returns or sets the playback rate of the animation.
Syntax
varcurrentTime = element.currentTime; element.playbackRate = someValue;
Specifications
Specification | Status | Comment |
---|---|---|
Web Animations 1.0 The definition of 'playbackRate' in that specification. |
Editor's Draft |
See also
AnimationPlayer
for other methods and properties you can use to control web page animation.