From 76c1fff00042ff1b5d524ee414dc6d28f7658c69 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 6 Nov 2019 00:01:19 +0100 Subject: API documentation for KVision 2.2.0 --- .../-select-remote-input/-init-.html | 6 ++++-- .../-select-remote-input/index.html | 20 ++++++++++++++++---- .../-select-remote-input/refresh-state.html | 15 +++++++++++++++ 3 files changed, 35 insertions(+), 6 deletions(-) create mode 100644 api/pl.treksoft.kvision.form.select/-select-remote-input/refresh-state.html (limited to 'api/pl.treksoft.kvision.form.select/-select-remote-input') diff --git a/api/pl.treksoft.kvision.form.select/-select-remote-input/-init-.html b/api/pl.treksoft.kvision.form.select/-select-remote-input/-init-.html index 66cc0c67..f293657d 100644 --- a/api/pl.treksoft.kvision.form.select/-select-remote-input/-init-.html +++ b/api/pl.treksoft.kvision.form.select/-select-remote-input/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.select / SelectRemoteInput / <init>

<init>

- -SelectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf()) + +SelectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, classes: Set<String> = setOf())

Parameters

value - selected value

@@ -23,6 +23,8 @@ multiple - allows multiple value selection (multiple values are comma delimited)

ajaxOptions - additional options for remote data source

+

+preload - preload all options from remote data source

classes - a set of CSS class names

Constructor
diff --git a/api/pl.treksoft.kvision.form.select/-select-remote-input/index.html b/api/pl.treksoft.kvision.form.select/-select-remote-input/index.html index 32dd6f78..05c0c5f7 100644 --- a/api/pl.treksoft.kvision.form.select/-select-remote-input/index.html +++ b/api/pl.treksoft.kvision.form.select/-select-remote-input/index.html @@ -18,7 +18,7 @@

<init>

-SelectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf()) +SelectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, classes: Set<String> = setOf()) @@ -180,6 +180,18 @@ +

Functions

+ + + + + + + +
+

refreshState

+
+open fun refreshState(): Unit

Inherited Functions

@@ -516,7 +528,7 @@

formPanel

@@ -830,7 +842,7 @@

selectRemote

@@ -839,7 +851,7 @@

selectRemoteInput

diff --git a/api/pl.treksoft.kvision.form.select/-select-remote-input/refresh-state.html b/api/pl.treksoft.kvision.form.select/-select-remote-input/refresh-state.html new file mode 100644 index 00000000..a13407c0 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-remote-input/refresh-state.html @@ -0,0 +1,15 @@ + + + +SelectRemoteInput.refreshState - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectRemoteInput / refreshState
+
+

refreshState

+ +protected open fun refreshState(): Unit +

Overrides SelectInput.refreshState

+ + -- cgit
-fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>

DSL builder extension function.

-fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T>

DSL builder extension function.

-fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T>

DSL builder extension function.