kvision / pl.treksoft.kvision.core / Widget / hideAnim

hideAnim

(js) open fun hideAnim(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget

Hides current widget with animation effect.

Parameters

duration - a duration of the animation

easing - an easing function to use

complete - a callback function called after the animation completes

Return
current widget