aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form.text/-ta-ajax-options/-init-.html
blob: c385447cfa10b79bf68530b8b4d32a9cdcd24cd2 (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
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>TaAjaxOptions.<init> - 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.text</a>&nbsp;/&nbsp;<a href="index.html">TaAjaxOptions</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<a name="pl.treksoft.kvision.form.text.TaAjaxOptions$&lt;init&gt;(kotlin.String, kotlin.Function1((kotlin.String, kotlin.Any)), kotlin.Function1((kotlin.Any, kotlin.Array((kotlin.String)))), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), pl.treksoft.kvision.form.text.HttpType, pl.treksoft.kvision.form.text.DataType, kotlin.Boolean)"></a>
<code><span class="identifier">TaAjaxOptions</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.text.TaAjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.String, kotlin.Any)), kotlin.Function1((kotlin.Any, kotlin.Array((kotlin.String)))), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), pl.treksoft.kvision.form.text.HttpType, pl.treksoft.kvision.form.text.DataType, 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.text.TaAjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.String, kotlin.Any)), kotlin.Function1((kotlin.Any, kotlin.Array((kotlin.String)))), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), pl.treksoft.kvision.form.text.HttpType, pl.treksoft.kvision.form.text.DataType, kotlin.Boolean)/preprocessQuery">preprocessQuery</span><span class="symbol">:</span>&nbsp;<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>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.text.TaAjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.String, kotlin.Any)), kotlin.Function1((kotlin.Any, kotlin.Array((kotlin.String)))), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), pl.treksoft.kvision.form.text.HttpType, pl.treksoft.kvision.form.text.DataType, kotlin.Boolean)/preprocessData">preprocessData</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">(</span><span class="keyword">dynamic</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.text.TaAjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.String, kotlin.Any)), kotlin.Function1((kotlin.Any, kotlin.Array((kotlin.String)))), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), pl.treksoft.kvision.form.text.HttpType, pl.treksoft.kvision.form.text.DataType, kotlin.Boolean)/beforeSend">beforeSend</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">(</span><span class="identifier">JQueryXHR</span><span class="symbol">,</span>&nbsp;<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="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.text.TaAjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.String, kotlin.Any)), kotlin.Function1((kotlin.Any, kotlin.Array((kotlin.String)))), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), pl.treksoft.kvision.form.text.HttpType, pl.treksoft.kvision.form.text.DataType, 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.text.TaAjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.String, kotlin.Any)), kotlin.Function1((kotlin.Any, kotlin.Array((kotlin.String)))), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), pl.treksoft.kvision.form.text.HttpType, pl.treksoft.kvision.form.text.DataType, 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.text.TaAjaxOptions$<init>(kotlin.String, kotlin.Function1((kotlin.String, kotlin.Any)), kotlin.Function1((kotlin.Any, kotlin.Array((kotlin.String)))), kotlin.Function2((pl.treksoft.jquery.JQueryXHR, kotlin.Any, )), pl.treksoft.kvision.form.text.HttpType, pl.treksoft.kvision.form.text.DataType, kotlin.Boolean)/processData">processData</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></code>
<h3>Parameters</h3>
<p><a name="url"></a>
<code>url</code> - the url address</p>
<p><a name="preprocessQuery"></a>
<code>preprocessQuery</code> - a function to process query string for sending</p>
<p><a name="preprocessData"></a>
<code>preprocessData</code> - a function to process received data</p>
<p><a name="beforeSend"></a>
<code>beforeSend</code> - <a href="http://api.jquery.com/jquery.ajax/#jQuery-ajax-settings">JQuery ajax.beforeSend</a> option</p>
<p><a name="httpType"></a>
<code>httpType</code> - <a href="http://api.jquery.com/jquery.ajax/#jQuery-ajax-settings">JQuery ajax.type</a> option</p>
<p><a name="dataType"></a>
<code>dataType</code> - <a href="http://api.jquery.com/jquery.ajax/#jQuery-ajax-settings">JQuery ajax.dataType</a> option</p>
<p><a name="processData"></a>
<code>processData</code> - <a href="http://api.jquery.com/jquery.ajax/#jQuery-ajax-settings">JQuery ajax.processData</a> option</p>
<p><strong>Constructor</strong><br/>
</p>
</BODY>
</HTML>