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/index.html | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'api/pl.treksoft.kvision.core/index.html') diff --git a/api/pl.treksoft.kvision.core/index.html b/api/pl.treksoft.kvision.core/index.html index bc083fab..640b2b80 100644 --- a/api/pl.treksoft.kvision.core/index.html +++ b/api/pl.treksoft.kvision.core/index.html @@ -200,6 +200,14 @@ backgrounds, fonts, text and position) and the main Widget class.

(js) +

Easing

+ + +enum class Easing + + + +(js)

FontStyle

@@ -533,9 +541,19 @@ backgrounds, fonts, text and position) and the main Widget class.

(js) +

onClick

+ + +

An extension function for defining on click event handlers.

+fun <T : Widget> T.onClick(handler: T.(MouseEvent) -> Unit): Int + + + +(js)

onEvent

+

An extension function for defining event handlers.

fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Int @@ -607,7 +625,7 @@ backgrounds, fonts, text and position) and the main Widget class.

DSL builder extension function.

-fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +fun Container.widget(classes: Set<String>? = null, className: String? = null, init: (Widget.() -> Unit)? = null): Widget @@ -616,7 +634,7 @@ backgrounds, fonts, text and position) and the main Widget class.

DSL builder extension function.

-fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +fun Container.widgetWrapper(wrapped: Component?, classes: Set<String>? = null, className: String? = null, init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper -- cgit