AnimationOptions

data class AnimationOptions(val duration: Int = 1000, var easing: Eeasing = Eeasing.EASEOUTQUART, val delay: Number? = null, val loop: Boolean? = null, val onProgress: (obj: AnimationEvent) -> Unit? = null, val onComplete: (obj: AnimationEvent) -> Unit? = null, val disabled: Boolean? = null)

Chart animation options.

Constructors

Link copied to clipboard
constructor(duration: Int = 1000, easing: Eeasing = Eeasing.EASEOUTQUART, delay: Number? = null, loop: Boolean? = null, onProgress: (obj: AnimationEvent) -> Unit? = null, onComplete: (obj: AnimationEvent) -> Unit? = null, disabled: Boolean? = null)

Properties

Link copied to clipboard
val delay: Number? = null
Link copied to clipboard
val disabled: Boolean? = null
Link copied to clipboard
val duration: Int = 1000
Link copied to clipboard
Link copied to clipboard
val loop: Boolean? = null
Link copied to clipboard
val onComplete: (obj: AnimationEvent) -> Unit? = null
Link copied to clipboard
val onProgress: (obj: AnimationEvent) -> Unit? = null

Functions

Link copied to clipboard
fun AnimationOptions.toJs(): dynamic

An extension function to convert configuration class to JS object.