data class AjaxOptions
Data class for AJAX options.
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) |
val beforeSend: (JQueryXHR) -> dynamic |
|
val cache: Boolean |
|
val clearOnEmpty: Boolean |
|
val clearOnError: Boolean |
|
val data: dynamic |
|
val dataType: DATATYPE |
|
val emptyRequest: Boolean |
|
val httpType: HTTPTYPE |
|
val minLength: Int |
|
val preprocessData: (dynamic) -> dynamic |
|
val requestDelay: Int |
|
val restoreOnError: Boolean |
|
val url: String |
fun AjaxOptions.toJs(emptyOption: Boolean): dynamic
Convert AjaxOptions to JavaScript JSON object. |