kvision / pl.treksoft.kvision.core / Widget / slideUp

slideUp

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

Hides current widget with slide up 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