From bfd5aa358e141d6c86d476d8bb66b104a80a3b96 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 21 May 2020 00:13:50 +0200 Subject: API documentation for KVision 3.10.0 --- api/pl.treksoft.kvision.core/-widget/animate.html | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 api/pl.treksoft.kvision.core/-widget/animate.html (limited to 'api/pl.treksoft.kvision.core/-widget/animate.html') diff --git a/api/pl.treksoft.kvision.core/-widget/animate.html b/api/pl.treksoft.kvision.core/-widget/animate.html new file mode 100644 index 00000000..ab776d39 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/animate.html @@ -0,0 +1,24 @@ + + + +Widget.animate - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / animate
+
+

animate

+(js) +open fun animate(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null, styles: StyledComponent.() -> Unit): Unit +

Animate the widget changing CSS properties.

+

Parameters

+

+duration - a duration of the animation

+

+easing - an easing function to use

+

+complete - a callback function called after the animation completes

+

+styles - changing properties values

+ + -- cgit