Ajax Options
data class AjaxOptions(url: String?, preprocessData: (dynamic) -> dynamic?, beforeSend: (JQueryXHR, JQueryAjaxSettings) -> dynamic?, data: dynamic, httpType: HttpType, dataType: DataType, minLength: Int, cache: Boolean, clearOnEmpty: Boolean, clearOnError: Boolean, emptyRequest: Boolean, requestDelay: Int, restoreOnError: Boolean, preserveSelected: Boolean, processData: Boolean)
Content copied to clipboard
Data class for AJAX options.
Parameters
url
the url address
preprocessData
beforeSend
JQuery ajax.beforeSend option
data
JQuery ajax.data option
httpType
JQuery ajax.type option
dataType
JQuery ajax.dataType option
minLength
cache
AjaxBootstrapSelect cache option
clearOnEmpty
clearOnError
emptyRequest
requestDelay
restoreOnError
preserveSelected
processData
JQuery ajax.processData option
Constructors
AjaxOptions
Link copied to clipboard
fun 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)
Content copied to clipboard
Functions
component1
Link copied to clipboard
component10
Link copied to clipboard
component11
Link copied to clipboard
component12
Link copied to clipboard
component13
Link copied to clipboard
component14
Link copied to clipboard
component15
Link copied to clipboard
component2
Link copied to clipboard
operator fun component2(): (dynamic) -> dynamic?
Content copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
operator fun component4(): dynamic
Content copied to clipboard
component5
Link copied to clipboard
component6
Link copied to clipboard
component7
Link copied to clipboard
component8
Link copied to clipboard
component9
Link copied to clipboard
copy
Link copied to clipboard
fun copy(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): AjaxOptions
Content copied to clipboard
Properties
beforeSend
Link copied to clipboard
JQuery ajax.beforeSend option
cache
Link copied to clipboard
clearOnEmpty
Link copied to clipboard
clearOnError
Link copied to clipboard
data
Link copied to clipboard
dataType
Link copied to clipboard
emptyRequest
Link copied to clipboard
httpType
Link copied to clipboard
minLength
Link copied to clipboard
preprocessData
Link copied to clipboard
val preprocessData: (dynamic) -> dynamic? = null
Content copied to clipboard
preserveSelected
Link copied to clipboard
processData
Link copied to clipboard
requestDelay
Link copied to clipboard
restoreOnError
Link copied to clipboard
Extensions
toJs
Link copied to clipboard