summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form.select/select-remote.html
blob: a425ef2930b888fbf56add31340bcbd3900649b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>selectRemote - kvision</title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">kvision</a>&nbsp;/&nbsp;<a href="index.html">pl.treksoft.kvision.form.select</a>&nbsp;/&nbsp;<a href="./select-remote.html">selectRemote</a><br/>
<br/>
<h1>selectRemote</h1>
(js) <a name="pl.treksoft.kvision.form.select$selectRemote(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.selectRemote.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.Unit)))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">selectRemote</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select$selectRemote(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.selectRemote.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.Unit)))/serviceManager">serviceManager</span><span class="symbol">:</span>&nbsp;<a href="../pl.treksoft.kvision.remote/-k-v-service-manager/index.html"><span class="identifier">KVServiceManager</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectRemote(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.selectRemote.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.Unit)))/function">function</span><span class="symbol">:</span>&nbsp;<span class="keyword">suspend </span><span class="identifier">T</span><span class="symbol">.</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span><span class="symbol">,</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span><span class="symbol">,</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../pl.treksoft.kvision.remote/-remote-option/index.html"><span class="identifier">RemoteOption</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectRemote(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.selectRemote.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.Unit)))/stateFunction">stateFunction</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectRemote(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.selectRemote.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.Unit)))/value">value</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectRemote(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.selectRemote.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.Unit)))/name">name</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectRemote(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.selectRemote.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.Unit)))/multiple">multiple</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectRemote(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.selectRemote.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.Unit)))/ajaxOptions">ajaxOptions</span><span class="symbol">:</span>&nbsp;<a href="-ajax-options/index.html"><span class="identifier">AjaxOptions</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectRemote(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.selectRemote.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.Unit)))/preload">preload</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectRemote(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.selectRemote.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.Unit)))/label">label</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectRemote(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.selectRemote.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.Unit)))/rich">rich</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectRemote(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.selectRemote.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.selectRemote.T)), kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="-select-remote/index.html"><span class="identifier">SelectRemote</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="-select-remote/index.html"><span class="identifier">SelectRemote</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span></code>
<p>DSL builder extension function.</p>
<p>It takes the same parameters as the constructor of the built component.</p>
</BODY>
</HTML>