Animation

@Serializable
data class Animation(val id: String, val name: String, val pausedState: Boolean, val playState: String, val playbackRate: Double, val startTime: Double, val currentTime: Double, val type: AnimationType, val source: AnimationEffect? = null, val cssId: String? = null)(source)

Animation instance.

Official doc

Constructors

Link copied to clipboard
constructor(id: String, name: String, pausedState: Boolean, playState: String, playbackRate: Double, startTime: Double, currentTime: Double, type: AnimationType, source: AnimationEffect? = null, cssId: String? = null)

Properties

Link copied to clipboard
val cssId: String? = null

A unique ID for Animation representing the sources that triggered this CSS animation/transition.

Link copied to clipboard

Animation's current time.

Link copied to clipboard
val id: String

Animation's id.

Link copied to clipboard

Animation's name.

Link copied to clipboard

Animation's internal paused state.

Link copied to clipboard

Animation's playback rate.

Link copied to clipboard

Animation's play state.

Link copied to clipboard
val source: AnimationEffect? = null

Animation's source animation node.

Link copied to clipboard

Animation's start time.

Link copied to clipboard

Animation type of Animation.