CSSAnimation

Module: JavaScript DOM API

The CSSAnimation object for dom element.

#include <CSSAnimation.idl>

Inherits from Animation

Public Attributes

Name
readonly attribute DOMStringanimationName
The name of the animation.

Additional inherited members

Public Functions inherited from Animation

Name
voidplay()
Starts playing the animation if paused, does nothing if already running.
voidpause()
Pauses the animation if running, does nothing if finished/paused.
voidreverse()
Reverses the animations playbackRate and plays it.
voidplayFromTo(double playTime, double pauseTime, optional AnyCallback callback)
Plays an animation from the selected time to the pause time. When the pauseTime is reached, the animation is automatically paused and the callback is invoked.
voidcommitStyles()
voidfinish()
voidcancel()
voidpersist()

Public Attributes inherited from Animation

Name
attribute doublecurrentTime
The current time of the animation.
attribute doubleplaybackRate
The playback rate of the animation.
attribute EventSetterfinish

Public Attributes Documentation

variable animationName

readonly attribute DOMString animationName;

The name of the animation.