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 --- .../-rich-text/index.html | 59 ++++++++++++++++++++-- 1 file changed, 54 insertions(+), 5 deletions(-) (limited to 'api/pl.treksoft.kvision.form.text/-rich-text/index.html') diff --git a/api/pl.treksoft.kvision.form.text/-rich-text/index.html b/api/pl.treksoft.kvision.form.text/-rich-text/index.html index 532311f1..b2ccc5d1 100644 --- a/api/pl.treksoft.kvision.form.text/-rich-text/index.html +++ b/api/pl.treksoft.kvision.form.text/-rich-text/index.html @@ -172,6 +172,15 @@ +

removeEventListener

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

Removes event listener from current widget.

+ + + +

removeEventListeners

@@ -184,14 +193,38 @@

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

@@ -369,6 +402,13 @@ + + + + + + + + @@ -561,7 +610,7 @@

onEvent

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

eventFlow

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

fieldLabel

@@ -549,10 +589,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
-- cgit