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/-ajax-options/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/-ajax-options/index.html')
-rw-r--r-- | api1/pl.treksoft.kvision.form.select/-ajax-options/index.html | 185 |
1 files changed, 185 insertions, 0 deletions
diff --git a/api1/pl.treksoft.kvision.form.select/-ajax-options/index.html b/api1/pl.treksoft.kvision.form.select/-ajax-options/index.html new file mode 100644 index 00000000..5e044a7a --- /dev/null +++ b/api1/pl.treksoft.kvision.form.select/-ajax-options/index.html @@ -0,0 +1,185 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>AjaxOptions - 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">AjaxOptions</a><br/> +<br/> +<h1>AjaxOptions</h1> +<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">AjaxOptions</span></code> +<p>Data class for AJAX options.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">AjaxOptions</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), kotlin.Any, pl.treksoft.kvision.form.select.HttpType, pl.treksoft.kvision.form.select.DataType, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean)/url">url</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.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), kotlin.Any, pl.treksoft.kvision.form.select.HttpType, pl.treksoft.kvision.form.select.DataType, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean)/preprocessData">preprocessData</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), kotlin.Any, pl.treksoft.kvision.form.select.HttpType, pl.treksoft.kvision.form.select.DataType, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean)/beforeSend">beforeSend</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), kotlin.Any, pl.treksoft.kvision.form.select.HttpType, pl.treksoft.kvision.form.select.DataType, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean)/data">data</span><span class="symbol">:</span> <span class="keyword">dynamic</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), kotlin.Any, pl.treksoft.kvision.form.select.HttpType, pl.treksoft.kvision.form.select.DataType, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean)/httpType">httpType</span><span class="symbol">:</span> <a href="../-http-type/index.html"><span class="identifier">HttpType</span></a> <span class="symbol">=</span> HttpType.GET<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), kotlin.Any, pl.treksoft.kvision.form.select.HttpType, pl.treksoft.kvision.form.select.DataType, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean)/dataType">dataType</span><span class="symbol">:</span> <a href="../-data-type/index.html"><span class="identifier">DataType</span></a> <span class="symbol">=</span> DataType.JSON<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), kotlin.Any, pl.treksoft.kvision.form.select.HttpType, pl.treksoft.kvision.form.select.DataType, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean)/minLength">minLength</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> 0<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), kotlin.Any, pl.treksoft.kvision.form.select.HttpType, pl.treksoft.kvision.form.select.DataType, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean)/cache">cache</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), kotlin.Any, pl.treksoft.kvision.form.select.HttpType, pl.treksoft.kvision.form.select.DataType, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean)/clearOnEmpty">clearOnEmpty</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), kotlin.Any, pl.treksoft.kvision.form.select.HttpType, pl.treksoft.kvision.form.select.DataType, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean)/clearOnError">clearOnError</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), kotlin.Any, pl.treksoft.kvision.form.select.HttpType, pl.treksoft.kvision.form.select.DataType, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean)/emptyRequest">emptyRequest</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.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), kotlin.Any, pl.treksoft.kvision.form.select.HttpType, pl.treksoft.kvision.form.select.DataType, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean)/requestDelay">requestDelay</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> AJAX_REQUEST_DELAY<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), kotlin.Any, pl.treksoft.kvision.form.select.HttpType, pl.treksoft.kvision.form.select.DataType, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean)/restoreOnError">restoreOnError</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.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), kotlin.Any, pl.treksoft.kvision.form.select.HttpType, pl.treksoft.kvision.form.select.DataType, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean)/preserveSelected">preserveSelected</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.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), kotlin.Any, pl.treksoft.kvision.form.select.HttpType, pl.treksoft.kvision.form.select.DataType, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Int, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean)/processData">processData</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="before-send.html">beforeSend</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">beforeSend</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span> <span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span></code> +<p><a href="http://api.jquery.com/jquery.ajax/#jQuery-ajax-settings">JQuery ajax.beforeSend</a> option</p> +</td> +</tr> +<tr> +<td> +<p><a href="cache.html">cache</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">cache</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><a href="https://github.com/truckingsim/Ajax-Bootstrap-Select#optionscache">AjaxBootstrapSelect cache</a> option</p> +</td> +</tr> +<tr> +<td> +<p><a href="clear-on-empty.html">clearOnEmpty</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">clearOnEmpty</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><a href="https://github.com/truckingsim/Ajax-Bootstrap-Select#optionsclearonempty">AjaxBootstrapSelect clearOnEmpty</a> option</p> +</td> +</tr> +<tr> +<td> +<p><a href="clear-on-error.html">clearOnError</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">clearOnError</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><a href="https://github.com/truckingsim/Ajax-Bootstrap-Select#optionsclearonerror">AjaxBootstrapSelect clearOnError</a> option</p> +</td> +</tr> +<tr> +<td> +<p><a href="data.html">data</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">data</span><span class="symbol">: </span><span class="keyword">dynamic</span></code> +<p><a href="http://api.jquery.com/jquery.ajax/#jQuery-ajax-settings">JQuery ajax.data</a> option</p> +</td> +</tr> +<tr> +<td> +<p><a href="data-type.html">dataType</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">dataType</span><span class="symbol">: </span><a href="../-data-type/index.html"><span class="identifier">DataType</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="empty-request.html">emptyRequest</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">emptyRequest</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><a href="https://github.com/truckingsim/Ajax-Bootstrap-Select#optionsemptyrequest">AjaxBootstrapSelect emptyRequest</a> option</p> +</td> +</tr> +<tr> +<td> +<p><a href="http-type.html">httpType</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">httpType</span><span class="symbol">: </span><a href="../-http-type/index.html"><span class="identifier">HttpType</span></a></code> +<p><a href="http://api.jquery.com/jquery.ajax/#jQuery-ajax-settings">JQuery ajax.type</a> option</p> +</td> +</tr> +<tr> +<td> +<p><a href="min-length.html">minLength</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">minLength</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code> +<p><a href="https://github.com/truckingsim/Ajax-Bootstrap-Select#optionsminlength">AjaxBootstrapSelect minLength</a> option</p> +</td> +</tr> +<tr> +<td> +<p><a href="preprocess-data.html">preprocessData</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">preprocessData</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span></code> +<p><a href="https://github.com/truckingsim/Ajax-Bootstrap-Select#optionspreprocessdata">AjaxBootstrapSelect preprocessOption</a> +option</p> +</td> +</tr> +<tr> +<td> +<p><a href="preserve-selected.html">preserveSelected</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">preserveSelected</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></td> +</tr> +<tr> +<td> +<p><a href="process-data.html">processData</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">processData</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></td> +</tr> +<tr> +<td> +<p><a href="request-delay.html">requestDelay</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">requestDelay</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code> +<p><a href="https://github.com/truckingsim/Ajax-Bootstrap-Select#optionsrequestdelay">AjaxBootstrapSelect requestDelay</a> option</p> +</td> +</tr> +<tr> +<td> +<p><a href="restore-on-error.html">restoreOnError</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">restoreOnError</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><a href="https://github.com/truckingsim/Ajax-Bootstrap-Select#optionsrestoreonerror">AjaxBootstrapSelect restoreOnError</a> +option</p> +</td> +</tr> +<tr> +<td> +<p><a href="url.html">url</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">url</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 url address</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> +<tr> +<td> +<p><a href="../to-js.html">toJs</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="./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> <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> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> |