From 4ffe1bee99a55e985bb71dacff3839263cb4316f Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 3 Mar 2020 10:53:33 +0100 Subject: API Documentation for KVision 3.0.0 --- api/pl.treksoft.kvision.core/-widget/index.html | 66 +++++++++++++++++++++++-- 1 file changed, 62 insertions(+), 4 deletions(-) (limited to 'api/pl.treksoft.kvision.core/-widget/index.html') diff --git a/api/pl.treksoft.kvision.core/-widget/index.html b/api/pl.treksoft.kvision.core/-widget/index.html index ab5fac58..c555469a 100644 --- a/api/pl.treksoft.kvision.core/-widget/index.html +++ b/api/pl.treksoft.kvision.core/-widget/index.html @@ -258,6 +258,15 @@ +

cursor

+ + +open var cursor: Cursor? +

CSS cursor shape over the current component.

+ + + +

display

@@ -935,6 +944,15 @@ +

removeEventListener

+ + +open fun removeEventListener(id: Int): Widget +

Removes event listener from current widget.

+ + + +

removeEventListeners

@@ -1013,10 +1031,8 @@

setEventListener

-open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget +open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Int

Sets an event listener for current widget, keeping the actual type of component.

-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget -

Sets an event listener for current widget.

@@ -1094,6 +1110,32 @@ +

Extension Properties

+ + + + + + + + + + + + + + + +
+

changeFlow

+
+val <T : Widget> T.changeFlow: <ERROR CLASS><T>
+

clickFlow

+
+val <T : Widget> T.clickFlow: <ERROR CLASS><T>
+

inputFlow

+
+val <T : Widget> T.inputFlow: <ERROR CLASS><T>

Extension Functions

@@ -1152,10 +1194,17 @@ + + + + +fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Int + + + +
+

eventFlow

+
+fun <T : Widget> T.eventFlow(event: String): <ERROR CLASS><Pair<T, Event>>

onEvent

-fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget
@@ -1298,6 +1347,15 @@
+

Maps

+
+open class Maps : Widget +

Maps component.

+

MaximizeIcon

-- cgit