summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form.select/-select-remote-input/-init-.html
blob: 112839c7df0a786684f0bfbf66ae6c90f204fa71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>SelectRemoteInput.<init> - 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="index.html">SelectRemoteInput</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
(js) <a name="pl.treksoft.kvision.form.select.SelectRemoteInput$&lt;init&gt;(pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemoteInput.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.SelectRemoteInput.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))"></a>
<code><span class="identifier">SelectRemoteInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemoteInput$<init>(pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemoteInput.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.SelectRemoteInput.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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.SelectRemoteInput$<init>(pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemoteInput.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.SelectRemoteInput.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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.SelectRemoteInput$<init>(pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemoteInput.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.SelectRemoteInput.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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.SelectRemoteInput$<init>(pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemoteInput.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.SelectRemoteInput.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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.SelectRemoteInput$<init>(pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemoteInput.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.SelectRemoteInput.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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.SelectRemoteInput$<init>(pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemoteInput.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.SelectRemoteInput.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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.SelectRemoteInput$<init>(pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemoteInput.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.SelectRemoteInput.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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.SelectRemoteInput$<init>(pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemoteInput.T)), kotlin.coroutines.SuspendFunction4((pl.treksoft.kvision.form.select.SelectRemoteInput.T, kotlin.String, , , kotlin.collections.List((pl.treksoft.kvision.remote.RemoteOption)))), kotlin.Function0((kotlin.String)), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/classes">classes</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;setOf()<span class="symbol">)</span></code>
<h3>Parameters</h3>
<p><a name="value"></a>
<code>value</code> - selected value</p>
<p><a name="serviceManager"></a>
<code>serviceManager</code> - multiplatform service manager</p>
<p><a name="function"></a>
<code>function</code> - multiplatform service method returning the list of options</p>
<p><a name="stateFunction"></a>
<code>stateFunction</code> - a function to generate the state object passed with the remote request</p>
<p><a name="multiple"></a>
<code>multiple</code> - allows multiple value selection (multiple values are comma delimited)</p>
<p><a name="ajaxOptions"></a>
<code>ajaxOptions</code> - additional options for remote data source</p>
<p><a name="preload"></a>
<code>preload</code> - preload all options from remote data source</p>
<p><a name="classes"></a>
<code>classes</code> - a set of CSS class names</p>
<p><strong>Constructor</strong><br/>
</p>
</BODY>
</HTML>