16 void playFromTo(
double playTime,
double pauseTime, optional AnyCallback callback);
23 [EventSetter] attribute EventSetter finish;
void reverse()
Reverses the animations playbackRate and plays it.
void pause()
Pauses the animation if running, does nothing if finished/paused.
attribute double currentTime
The current time of the animation.
Definition: Animation.idl:19
void playFromTo(double playTime, double pauseTime, optional AnyCallback callback)
Plays an animation from the selected time to the pause time. When the pauseTime is reached...
attribute double playbackRate
The playback rate of the animation.
Definition: Animation.idl:21
void play()
Starts playing the animation if paused, does nothing if already running.
The Animation object for dom element.
Definition: Animation.idl:3