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.html/-bold/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-button/index.html | 48 +++++++++++++++++++++-- api/pl.treksoft.kvision.html/-canvas/index.html | 48 +++++++++++++++++++++-- api/pl.treksoft.kvision.html/-div/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-footer/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-h1/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-h2/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-h3/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-h4/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-h5/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-h6/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-header/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-icon/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-iframe/index.html | 48 +++++++++++++++++++++-- api/pl.treksoft.kvision.html/-image/index.html | 48 +++++++++++++++++++++-- api/pl.treksoft.kvision.html/-link/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-list-tag/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-main/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-p/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-section/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-span/index.html | 46 +++++++++++++++++++++- api/pl.treksoft.kvision.html/-tag/index.html | 46 +++++++++++++++++++++- 22 files changed, 968 insertions(+), 52 deletions(-) (limited to 'api/pl.treksoft.kvision.html') diff --git a/api/pl.treksoft.kvision.html/-bold/index.html b/api/pl.treksoft.kvision.html/-bold/index.html index 287ac41d..8cb9073f 100644 --- a/api/pl.treksoft.kvision.html/-bold/index.html +++ b/api/pl.treksoft.kvision.html/-bold/index.html @@ -111,6 +111,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

@@ -288,6 +314,13 @@ + + + + + + + + @@ -480,7 +522,7 @@

onEvent

+fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Int + + + + @@ -639,6 +646,32 @@
+

eventFlow

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

fieldLabel

@@ -468,10 +501,19 @@
+

maps

+
+fun Container.maps(lat: Number, lng: Number, zoom: Number, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null): Maps +

DSL builder extension function.

+

navbar

-fun Container.navbar(label: String? = null, link: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +fun Container.navbar(label: String? = null, link: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, collapseOnClick: Boolean = false, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar

DSL builder extension function.

-fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget
diff --git a/api/pl.treksoft.kvision.html/-button/index.html b/api/pl.treksoft.kvision.html/-button/index.html index 336fd12a..a8f5f87a 100644 --- a/api/pl.treksoft.kvision.html/-button/index.html +++ b/api/pl.treksoft.kvision.html/-button/index.html @@ -504,6 +504,15 @@
+

removeEventListener

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

Removes event listener from current widget.

+

removeEventListeners

@@ -581,10 +590,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.

+

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

@@ -697,10 +730,17 @@ + + + + +fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Int + + + + @@ -567,6 +574,32 @@
+

eventFlow

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

onEvent

-fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget
diff --git a/api/pl.treksoft.kvision.html/-canvas/index.html b/api/pl.treksoft.kvision.html/-canvas/index.html index a4677c3b..a5e07520 100644 --- a/api/pl.treksoft.kvision.html/-canvas/index.html +++ b/api/pl.treksoft.kvision.html/-canvas/index.html @@ -432,6 +432,15 @@
+

removeEventListener

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

Removes event listener from current widget.

+

removeEventListeners

@@ -509,10 +518,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.

+

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

@@ -625,10 +658,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
diff --git a/api/pl.treksoft.kvision.html/-div/index.html b/api/pl.treksoft.kvision.html/-div/index.html index 7a22f991..9dd42755 100644 --- a/api/pl.treksoft.kvision.html/-div/index.html +++ b/api/pl.treksoft.kvision.html/-div/index.html @@ -111,6 +111,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

@@ -288,6 +314,13 @@ + + + + + + + +
+

eventFlow

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

fieldLabel

@@ -468,10 +501,19 @@
+

maps

+
+fun Container.maps(lat: Number, lng: Number, zoom: Number, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null): Maps +

DSL builder extension function.

+

navbar

-fun Container.navbar(label: String? = null, link: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +fun Container.navbar(label: