AnimationEvent

open class AnimationEvent(val type: EventType<AnimationEvent>, init: AnimationEventInit = definedExternally) : Event(source)

The AnimationEvent interface represents events providing information related to animations.

MDN Reference

Constructors

Link copied to clipboard
constructor(type: EventType<AnimationEvent>, init: AnimationEventInit = definedExternally)

Types

Link copied to clipboard
object Companion

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
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
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
open override val type: EventType<AnimationEvent>

Functions

Link copied to clipboard
open override fun asInit(): AnimationEventInit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard