AnimationEvent
open class AnimationEvent(val type: EventType<AnimationEvent>, init: AnimationEventInit = definedExternally) : Event(source)
The AnimationEvent
interface represents events providing information related to animations.
Properties
Link copied to clipboard
The AnimationEvent.animationName
read-only property is a string containing the value of the animation-name CSS property associated with the transition.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The AnimationEvent.elapsedTime
read-only property 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.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The AnimationEvent.pseudoElement
read-only property is a string, starting with '::'
, containing the name of the pseudo-element the animation runs on.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard