View source
class CSSAnimation
package js.html
extends Animation › EventTarget
@:native("CSSAnimation")Available on js
Variables
Inherited Variables
Defined by Animation
currentTime:Float
The current time value of the animation in milliseconds, whether running or paused. If the animation lacks a AnimationTimeline, is inactive or hasn't been played yet, its value is null.
read onlyeffect:AnimationEffectReadOnly
Gets and sets the AnimationEffectReadOnly associated with this animation. This will usually be a KeyframeEffect object.
read onlyplayState:AnimationPlayState
Returns an enumerated value describing the playback state of an animation.
read onlytimeline:AnimationTimeline
Gets or sets the AnimationTimeline associated with this animation.
Inherited Methods
Defined by Animation
Defined by EventTarget
@:value({ capture : false })addEventListener(type:String, listener:Function, capture:Bool = false):Void
@:value({ capture : false })addEventListener(type:String, listener:EventListener, capture:Bool = false, ?wantsUntrusted:Bool):Void
Throws:
null | DOMError |
|---|
@:value({ capture : false })removeEventListener(type:String, listener:Function, capture:Bool = false):Void
@:value({ capture : false })removeEventListener(type:String, listener:EventListener, capture:Bool = false):Void
Throws:
null | DOMError |
|---|