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

<init>

AjaxOptions(url: String, preprocessData: (dynamic) -> dynamic, beforeSend: (JQueryXHR) -> 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)

Parameters

url - the url address

preprocessData - AjaxBootstrapSelect preprocessOption option

beforeSend - JQuery ajax.beforeSend option

data - JQuery ajax.data option

httpType - JQuery ajax.type 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 option

Constructor