AnimationEvent

AnimationEvent

package js-html

extends Event

Available on js

The AnimationEvent interface represents events providing information related to animations.

Documentation AnimationEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Constructor

new (type:String, ?eventInitDict:AnimationEventInit)

Throws:

null DOMError

Variables

read only animationName:String

Is a DOMString containing the value of the animation-name CSS property associated with the transition.

read only elapsedTime:Float

Is a float giving the amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. For an "animationstart" event, elapsedTime is 0.0 unless there was a negative value for animation-delay, in which case the event will be fired with elapsedTime containing (-1 * delay).

read only pseudoElement:String

Is a DOMString, starting with '::', containing the name of the pseudo-element the animation runs on. If the animation doesn't run on a pseudo-element but on the element, an empty string: ''.

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/AnimationEvent.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部