diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-10-26 00:17:24 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-10-26 00:17:24 +0200 |
commit | fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb (patch) | |
tree | 911c8e9b208b9ba77f00531668d1d99b40fcb8e3 /api1/pl.treksoft.kvision.form.select/-select-remote/index.html | |
parent | 4f5db77ec2db6c87cb93ceb9f7ea9ab311247f17 (diff) | |
download | kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.tar.gz kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.tar.bz2 kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.zip |
API documentation for KVision 2.0.0
Diffstat (limited to 'api1/pl.treksoft.kvision.form.select/-select-remote/index.html')
-rw-r--r-- | api1/pl.treksoft.kvision.form.select/-select-remote/index.html | 368 |
1 files changed, 368 insertions, 0 deletions
diff --git a/api1/pl.treksoft.kvision.form.select/-select-remote/index.html b/api1/pl.treksoft.kvision.form.select/-select-remote/index.html new file mode 100644 index 00000000..19275a04 --- /dev/null +++ b/api1/pl.treksoft.kvision.form.select/-select-remote/index.html @@ -0,0 +1,368 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>SelectRemote - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.select</a> / <a href="./index.html">SelectRemote</a><br/> +<br/> +<h1>SelectRemote</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">SelectRemote</span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a><span class="symbol">, </span><a href="../../pl.treksoft.kvision.form/-string-form-control/index.html"><span class="identifier">StringFormControl</span></a></code> +<p>The form field component for SelectRemote control.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">SelectRemote</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote$<init>(kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean)/value">value</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote$<init>(kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean)/serviceManager">serviceManager</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.remote/-k-v-service-manager/index.html"><span class="identifier">KVServiceManager</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote$<init>(kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean)/function">function</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</span></a><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> <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> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="identifier"><ERROR CLASS></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote$<init>(kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean)/name">name</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote$<init>(kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean)/multiple">multiple</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote$<init>(kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean)/ajaxOptions">ajaxOptions</span><span class="symbol">:</span> <a href="../-ajax-options/index.html"><span class="identifier">AjaxOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote$<init>(kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean)/label">label</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote$<init>(kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean)/rich">rich</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">)</span></code></td> +</tr> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="autofocus.html">autofocus</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">autofocus</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code> +<p>Determines if the select is automatically focused.</p> +</td> +</tr> +<tr> +<td> +<p><a href="empty-option.html">emptyOption</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">emptyOption</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if an empty option is automatically generated.</p> +</td> +</tr> +<tr> +<td> +<p><a href="flabel.html">flabel</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">flabel</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.form/-field-label/index.html"><span class="identifier">FieldLabel</span></a></code> +<p>Form field label.</p> +</td> +</tr> +<tr> +<td> +<p><a href="input.html">input</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">input</span><span class="symbol">: </span><a href="../-select-remote-input/index.html"><span class="identifier">SelectRemoteInput</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code> +<p>The actual input component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="label.html">label</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">label</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></code> +<p>The label text bound to the select element.</p> +</td> +</tr> +<tr> +<td> +<p><a href="max-options.html">maxOptions</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">maxOptions</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span></code> +<p>Maximal number of selected options.</p> +</td> +</tr> +<tr> +<td> +<p><a href="multiple.html">multiple</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">multiple</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if multiple value selection is allowed.</p> +</td> +</tr> +<tr> +<td> +<p><a href="placeholder.html">placeholder</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">placeholder</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></code> +<p>The placeholder for the select control.</p> +</td> +</tr> +<tr> +<td> +<p><a href="rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">rich</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if <a href="label.html">label</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="select-width.html">selectWidth</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">selectWidth</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span></code> +<p>The width of the select control.</p> +</td> +</tr> +<tr> +<td> +<p><a href="select-width-type.html">selectWidthType</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">selectWidthType</span><span class="symbol">: </span><a href="../-select-width-type/index.html"><span class="identifier">SelectWidthType</span></a><span class="symbol">?</span></code> +<p>The width type of the select control.</p> +</td> +</tr> +<tr> +<td> +<p><a href="style.html">style</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">style</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.html/-button-style/index.html"><span class="identifier">ButtonStyle</span></a><span class="symbol">?</span></code> +<p>The style of the select control.</p> +</td> +</tr> +<tr> +<td> +<p><a href="validation-info.html">validationInfo</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">validationInfo</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.form/-help-block/index.html"><span class="identifier">HelpBlock</span></a></code> +<p>Validation info component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="value.html">value</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">value</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></code> +<p>A value of the selected option.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="add.html">add</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote$add(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Adds given component to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="add-all.html">addAll</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote$addAll(kotlin.collections.List((pl.treksoft.kvision.core.Component)))/children">children</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Adds a list of components to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="blur.html">blur</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">blur</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Makes the input element blur.</p> +</td> +</tr> +<tr> +<td> +<p><a href="focus.html">focus</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">focus</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Makes the input element focused.</p> +</td> +</tr> +<tr> +<td> +<p><a href="get-children.html">getChildren</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getChildren</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">></span></code> +<p>Returns a list of children of the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="get-sn-class.html">getSnClass</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnClass</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-string-bool-pair.html"><span class="identifier">StringBoolPair</span></a><span class="symbol">></span></code> +<p>Returns list of CSS class names for current widget in the form of a List.</p> +</td> +</tr> +<tr> +<td> +<p><a href="hide-options.html">hideOptions</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">hideOptions</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Hides dropdown with options.</p> +</td> +</tr> +<tr> +<td> +<p><a href="remove.html">remove</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">remove</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote$remove(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Removes given component from the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="remove-all.html">removeAll</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAll</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Removes all children from the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="remove-event-listeners.html">removeEventListeners</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeEventListeners</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Removes all event listeners from current widget.</p> +</td> +</tr> +<tr> +<td> +<p><a href="set-event-listener.html">setEventListener</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.select.SelectRemote.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Sets an event listener for current widget, keeping the actual type of component.</p> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Sets an event listener for current widget.</p> +</td> +</tr> +<tr> +<td> +<p><a href="show-options.html">showOptions</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">showOptions</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Opens dropdown with options.</p> +</td> +</tr> +<tr> +<td> +<p><a href="toggle-options.html">toggleOptions</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toggleOptions</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Toggles visibility of dropdown with options.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/add-internal.html">addInternal</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">addInternal</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$addInternal(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Protected and final method to add given component to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/children-v-nodes.html">childrenVNodes</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">childrenVNodes</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol"><</span><span class="identifier">VNode</span><span class="symbol">></span></code> +<p>Returns the array of the children Snabbdom vnodes.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.form/-string-form-control/get-value.html">getValue</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getValue</span><span class="symbol">(</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></code> +<p>Returns the value of the control.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.form/-string-form-control/get-value-as-string.html">getValueAsString</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getValueAsString</span><span class="symbol">(</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></code> +<p>Returns the value of the control as a String.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/render.html">render</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">VNode</span></code> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.form/-string-form-control/set-value.html">setValue</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setValue</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.StringFormControl$setValue(kotlin.Any)/v">v</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Sets the value of the control.</p> +</td> +</tr> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="select-remote.html">selectRemote</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></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.Companion$selectRemote(pl.treksoft.kvision.core.Container, kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Unit)))/value">value</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote.Companion$selectRemote(pl.treksoft.kvision.core.Container, kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Unit)))/serviceManager">serviceManager</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.remote/-k-v-service-manager/index.html"><span class="identifier">KVServiceManager</span></a><span class="symbol"><</span><a href="select-remote.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote.Companion$selectRemote(pl.treksoft.kvision.core.Container, kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Unit)))/function">function</span><span class="symbol">:</span> <a href="select-remote.html#T"><span class="identifier">T</span></a><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> <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> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="identifier"><ERROR CLASS></span><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote.Companion$selectRemote(pl.treksoft.kvision.core.Container, kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Unit)))/name">name</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote.Companion$selectRemote(pl.treksoft.kvision.core.Container, kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Unit)))/multiple">multiple</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote.Companion$selectRemote(pl.treksoft.kvision.core.Container, kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Unit)))/ajaxOptions">ajaxOptions</span><span class="symbol">:</span> <a href="../-ajax-options/index.html"><span class="identifier">AjaxOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote.Companion$selectRemote(pl.treksoft.kvision.core.Container, kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Unit)))/label">label</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote.Companion$selectRemote(pl.treksoft.kvision.core.Container, kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Unit)))/rich">rich</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectRemote.Companion$selectRemote(pl.treksoft.kvision.core.Container, kotlin.String, pl.treksoft.kvision.remote.KVServiceManager((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Function3((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T, kotlin.String, , kotlin.collections.List(()))), kotlin.String, kotlin.Boolean, pl.treksoft.kvision.form.select.AjaxOptions, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.select.SelectRemote((pl.treksoft.kvision.form.select.SelectRemote.Companion.selectRemote.T)), kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">SelectRemote</span></a><span class="symbol"><</span><a href="select-remote.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <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> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">SelectRemote</span></a><span class="symbol"><</span><a href="select-remote.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code> +<p>DSL builder extension function.</p> +</td> +</tr> +</tbody> +</table> +<h3>Extension Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> +<p>Helper function for creating JavaScript objects from dynamic constructors.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> |