summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form.select/-ajax-options/index.html
blob: fa4dcb687c1651d2db0269ec61ac6ae0b562b96e (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
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>AjaxOptions - 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">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">&lt;init&gt;</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>&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="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>&nbsp;<span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<span class="keyword">dynamic</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../-http-type/index.html"><span class="identifier">HttpType</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../-data-type/index.html"><span class="identifier">DataType</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&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;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>&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;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>&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;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>&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.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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&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></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>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</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="keyword">dynamic</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</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="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></code>
<p>the url address</p>
</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>&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>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>