kvision / pl.treksoft.kvision.form.select / AjaxOptions / <init>

<init>

(js) AjaxOptions(url: String? = null, preprocessData: ((dynamic) -> dynamic)? = null, beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> dynamic)? = null, data: dynamic = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, minLength: Int = 0, cache: Boolean = true, clearOnEmpty: Boolean = true, clearOnError: Boolean = true, emptyRequest: Boolean = false, requestDelay: Int = AJAX_REQUEST_DELAY, restoreOnError: Boolean = false, preserveSelected: Boolean = false, processData: Boolean = false)

Parameters

url - the url address

preprocessData - AjaxBootstrapSelect preprocessOption option

beforeSend - JQuery ajax.beforeSend option

data - JQuery ajax.data option

httpType - JQuery ajax.type option

dataType - JQuery ajax.dataType option

minLength - AjaxBootstrapSelect minLength option

cache - AjaxBootstrapSelect cache option

clearOnEmpty - AjaxBootstrapSelect clearOnEmpty option

clearOnError - AjaxBootstrapSelect clearOnError option

emptyRequest - AjaxBootstrapSelect emptyRequest option

requestDelay - AjaxBootstrapSelect requestDelay option

restoreOnError - AjaxBootstrapSelect restoreOnError

preserveSelected - AjaxBootstrapSelect preserveSelected option

processData - JQuery ajax.processData option

Constructor