From 9d35bb1e3d8186228cc409faa6d681624f20e9cd Mon Sep 17 00:00:00 2001
From: Robert Jaros Sets an event listener for current widget, keeping the actual type of component. Sets an event listener for current widget. DSL builder extension function.
@@ -759,6 +759,13 @@
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+open fun
setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+
+
+
+
+
+fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget
+
diff --git a/api/pl.treksoft.kvision.form.time/-date-time/set-event-listener.html b/api/pl.treksoft.kvision.form.time/-date-time/set-event-listener.html
index 40d2ae32..8fb708ba 100644
--- a/api/pl.treksoft.kvision.form.time/-date-time/set-event-listener.html
+++ b/api/pl.treksoft.kvision.form.time/-date-time/set-event-listener.html
@@ -31,8 +31,11 @@
}
}
@@ -1073,7 +1080,7 @@
-
fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E>
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?, String?) -> <ERROR CLASS><T>, stateFunction: (() -> String)? = null, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E>
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
Overrides Widget.setEventListener
+Sets an event listener for current widget.