From 4ffe1bee99a55e985bb71dacff3839263cb4316f Mon Sep 17 00:00:00 2001
From: Robert Jaros
open fun removeEventListener(id: Int): Widget
+Removes event listener from current widget.
+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.
+ + | +
+val <T : Widget> T.changeFlow: <ERROR CLASS><T> |
+
+ + | +
+val <T : Widget> T.clickFlow: <ERROR CLASS><T> |
+
+ + | +
+val <T : Widget> T.inputFlow: <ERROR CLASS><T> |
+
+ + | +
+fun <T : Widget> T.eventFlow(event: String): <ERROR CLASS><Pair<T, Event>> |
+
@@ -821,10 +861,19 @@ If not set the upload button action will default to form submission. | |
+ + | +
+fun Container.maps(lat: Number, lng: Number, zoom: Number, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null): Maps
+DSL builder extension function. + |
+
-fun Container.navbar(: String? = null, : String? = null, : NavbarType? = null, : NavbarExpand? = NavbarExpand.LG, : NavbarColor = NavbarColor.LIGHT, : BsBgColor = BsBgColor.LIGHT, : Set<String> = setOf(), : (Navbar.() -> Unit)? = null): Navbar
+fun Container.navbar(: String? = null, : String? = null, : NavbarType? = null, : NavbarExpand? = NavbarExpand.LG, : NavbarColor = NavbarColor.LIGHT, : BsBgColor = BsBgColor.LIGHT, : Boolean = false, : Set<String> = setOf(), : (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.form.upload/-upload/remove-event-listener.html b/api/pl.treksoft.kvision.form.upload/-upload/remove-event-listener.html
new file mode 100644
index 00000000..ec25ea94
--- /dev/null
+++ b/api/pl.treksoft.kvision.form.upload/-upload/remove-event-listener.html
@@ -0,0 +1,21 @@
+
+
+
+ + + removeEventListener+ +open fun removeEventListener(id: Int): Widget
+Overrides Widget.removeEventListener +Removes event listener from current widget. +Parameters+
+ Return setEventListener-open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Int
Overrides Widget.setEventListener Sets an event listener for current widget, keeping the actual type of component. Parameters@@ -18,7 +18,7 @@Return current widget +id of the handler Example: @@ -30,28 +30,5 @@ // self is of type Button here } } - -open fun
-Overrides Widget.setEventListener --Deprecated: Use onEvent extension function instead. - - Sets an event listener for current widget. -Parameters- -Return current widget - - -Example: - - -
|