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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
<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.Function1((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)/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="identifier" id="pl.treksoft.kvision.form.select.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function1((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)/preprocessData">preprocessData</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="identifier" id="pl.treksoft.kvision.form.select.AjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.Any, )), kotlin.Function1((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)/beforeSend">beforeSend</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">)</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.Function1((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)/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.Function1((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)/httpType">httpType</span><span class="symbol">:</span> <a href="../-h-t-t-p-t-y-p-e/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.Function1((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)/dataType">dataType</span><span class="symbol">:</span> <a href="../-d-a-t-a-t-y-p-e/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.Function1((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)/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.Function1((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)/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.Function1((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)/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.Function1((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)/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.Function1((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)/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.Function1((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)/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.Function1((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)/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></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="identifier">JQueryXHR</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span></code></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></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></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></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></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="../-d-a-t-a-t-y-p-e/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></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="../-h-t-t-p-t-y-p-e/index.html"><span class="identifier">HTTPTYPE</span></a></code></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></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="keyword">dynamic</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="keyword">dynamic</span></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></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></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></code></td>
</tr>
</tbody>
</table>
<h3>Extension Functions</h3>
<table>
<tbody>
<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>
|