Ta Ajax Options
data class TaAjaxOptions( val url: String? = null, val preprocessQuery: (String) -> dynamic? = null, val preprocessData: (dynamic) -> Array<String>? = null, val beforeSend: (<ERROR CLASS>, <ERROR CLASS>) -> dynamic? = null, val httpType: HttpType = HttpType.GET, val dataType: DataType = DataType.JSON, val processData: Boolean = true)
Content copied to clipboard
Data class for Typeahead AJAX options.
Parameters
url
the url address
preprocess Query
a function to process query string for sending
preprocess Data
a function to process received data
before Send
JQuery ajax.beforeSend option
http Type
JQuery ajax.type option
data Type
JQuery ajax.dataType option
process Data
JQuery ajax.processData option
Constructors
Link copied to clipboard
fun TaAjaxOptions( url: String? = null, preprocessQuery: (String) -> dynamic? = null, preprocessData: (dynamic) -> Array<String>? = null, beforeSend: (<ERROR CLASS>, <ERROR CLASS>) -> dynamic? = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, processData: Boolean = true)
Content copied to clipboard