aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.form.select/to-js.html
blob: 744dbb7a51c77d07cf7bfe77e5e220ba466ff703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>toJs - 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="./to-js.html">toJs</a><br/>
<br/>
<h1>toJs</h1>
<a name="pl.treksoft.kvision.form.select$toJs(pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean)"></a>
<code><span class="keyword">fun </span><a href="-ajax-options/index.html"><span class="identifier">AjaxOptions</span></a><span class="symbol">.</span><span class="identifier">toJs</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select$toJs(pl.treksoft.kvision.form.select.AjaxOptions, kotlin.Boolean)/emptyOption">emptyOption</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><span class="symbol">)</span><span class="symbol">: </span><span class="keyword">dynamic</span></code>
<p>Convert AjaxOptions to JavaScript JSON object.</p>
<h3>Parameters</h3>
<p><a name="emptyOption"></a>
<code>emptyOption</code> - add an empty position as the first select option</p>
<p><strong>Return</strong><br/>
JSON object</p>
</BODY>
</HTML>