From 0365722f8549ee93918be99da1b9f901cf0b2c8d Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 13 Mar 2020 01:05:20 +0100 Subject: API documentation for KVision 3.5.2 --- .../-ajax-options/-init-.html | 2 +- .../-ajax-options/before-send.html | 2 +- .../-ajax-options/cache.html | 2 +- .../-ajax-options/clear-on-empty.html | 2 +- .../-ajax-options/clear-on-error.html | 2 +- .../-ajax-options/data-type.html | 2 +- .../-ajax-options/data.html | 2 +- .../-ajax-options/empty-request.html | 2 +- .../-ajax-options/http-type.html | 2 +- .../-ajax-options/index.html | 110 ++++++++++----------- .../-ajax-options/min-length.html | 2 +- .../-ajax-options/preprocess-data.html | 2 +- .../-ajax-options/preserve-selected.html | 2 +- .../-ajax-options/process-data.html | 2 +- .../-ajax-options/request-delay.html | 2 +- .../-ajax-options/restore-on-error.html | 2 +- .../-ajax-options/url.html | 2 +- 17 files changed, 67 insertions(+), 75 deletions(-) (limited to 'api/pl.treksoft.kvision.form.select/-ajax-options') diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/-init-.html b/api/pl.treksoft.kvision.form.select/-ajax-options/-init-.html index ec03f2ce..2b0252fa 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/-init-.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/-init-.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / <init>

<init>

- +(js) AjaxOptions(url: String? = null, preprocessData: ((dynamic) -> dynamic)? = null, beforeSend: ((JQueryXHR, dynamic) -> 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

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/before-send.html b/api/pl.treksoft.kvision.form.select/-ajax-options/before-send.html index 3fdedcb3..2d7fe9ed 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/before-send.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/before-send.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / beforeSend

beforeSend

- +(js) val beforeSend: ((JQueryXHR, dynamic) -> dynamic)?

JQuery ajax.beforeSend option

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/cache.html b/api/pl.treksoft.kvision.form.select/-ajax-options/cache.html index fe51f145..416989cc 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/cache.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/cache.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / cache

cache

- +(js) val cache: Boolean

AjaxBootstrapSelect cache option

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-empty.html b/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-empty.html index 253386d6..3ffbaa8e 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-empty.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-empty.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / clearOnEmpty

clearOnEmpty

- +(js) val clearOnEmpty: Boolean

AjaxBootstrapSelect clearOnEmpty option

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-error.html b/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-error.html index 8047809a..593b3043 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-error.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-error.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / clearOnError

clearOnError

- +(js) val clearOnError: Boolean

AjaxBootstrapSelect clearOnError option

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/data-type.html b/api/pl.treksoft.kvision.form.select/-ajax-options/data-type.html index e9239b79..640a8194 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/data-type.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/data-type.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / dataType

dataType

- +(js) val dataType: DataType

JQuery ajax.dataType option

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/data.html b/api/pl.treksoft.kvision.form.select/-ajax-options/data.html index 025f8992..256ac39b 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/data.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/data.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / data

data

- +(js) val data: dynamic

JQuery ajax.data option

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/empty-request.html b/api/pl.treksoft.kvision.form.select/-ajax-options/empty-request.html index b56dc353..e8325425 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/empty-request.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/empty-request.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / emptyRequest

emptyRequest

- +(js) val emptyRequest: Boolean

AjaxBootstrapSelect emptyRequest option

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/http-type.html b/api/pl.treksoft.kvision.form.select/-ajax-options/http-type.html index 03914740..e1e4c2f2 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/http-type.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/http-type.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / httpType

httpType

- +(js) val httpType: HttpType

JQuery ajax.type option

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/index.html b/api/pl.treksoft.kvision.form.select/-ajax-options/index.html index 50947742..6a276369 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/index.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/index.html @@ -8,14 +8,15 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions

AjaxOptions

-data class AjaxOptions +(js) data class AjaxOptions

Data class for AJAX options.

Constructors

@@ -27,140 +28,140 @@ +val beforeSend: ((JQueryXHR, dynamic) -> 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 preserveSelected: Boolean +val processData: Boolean +val requestDelay: Int +val restoreOnError: Boolean +val url: String?
-

<init>

+(js) +

<init>

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

beforeSend

+(js) +

beforeSend

-val beforeSend: ((JQueryXHR, dynamic) -> dynamic)?

JQuery ajax.beforeSend option

-
-

cache

+(js) +

cache

-val cache: Boolean

AjaxBootstrapSelect cache option

-
-

clearOnEmpty

+(js) +

clearOnEmpty

-val clearOnEmpty: Boolean

AjaxBootstrapSelect clearOnEmpty option

-
-

clearOnError

+(js) +

clearOnError

-val clearOnError: Boolean

AjaxBootstrapSelect clearOnError option

-
-

data

+(js) +

data

-val data: dynamic

JQuery ajax.data option

-
-

dataType

+(js) +

dataType

-val dataType: DataType

JQuery ajax.dataType option

-
-

emptyRequest

+(js) +

emptyRequest

-val emptyRequest: Boolean

AjaxBootstrapSelect emptyRequest option

-
-

httpType

+(js) +

httpType

-val httpType: HttpType

JQuery ajax.type option

-
-

minLength

+(js) +

minLength

-val minLength: Int

AjaxBootstrapSelect minLength option

-
-

preprocessData

+(js) +

preprocessData

-val preprocessData: ((dynamic) -> dynamic)?

AjaxBootstrapSelect preprocessOption option

-
-

preserveSelected

+(js) +

preserveSelected

-val preserveSelected: Boolean

AjaxBootstrapSelect preserveSelected option

-
-

processData

+(js) +

processData

-val processData: Boolean

JQuery ajax.processData option

-
-

requestDelay

+(js) +

requestDelay

-val requestDelay: Int

AjaxBootstrapSelect requestDelay option

-
-

restoreOnError

+(js) +

restoreOnError

-val restoreOnError: Boolean

AjaxBootstrapSelect restoreOnError

-
-

url

+(js) +

url

-val url: String?

the url address

-
@@ -169,21 +170,12 @@ option

-

createInstance

+(js) +

toJs

-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

- - - - -

toJs

- - -fun AjaxOptions.toJs(emptyOption: Boolean): dynamic

Convert AjaxOptions to JavaScript JSON object.

- +fun AjaxOptions.toJs(emptyOption: Boolean): dynamic diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/min-length.html b/api/pl.treksoft.kvision.form.select/-ajax-options/min-length.html index e0694f73..58ec2e8a 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/min-length.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/min-length.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / minLength

minLength

- +(js) val minLength: Int

AjaxBootstrapSelect minLength option

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/preprocess-data.html b/api/pl.treksoft.kvision.form.select/-ajax-options/preprocess-data.html index ca5081e7..74d5e67b 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/preprocess-data.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/preprocess-data.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / preprocessData

preprocessData

- +(js) val preprocessData: ((dynamic) -> dynamic)?

AjaxBootstrapSelect preprocessOption option

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/preserve-selected.html b/api/pl.treksoft.kvision.form.select/-ajax-options/preserve-selected.html index d108cdc6..3cff4022 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/preserve-selected.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/preserve-selected.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / preserveSelected

preserveSelected

- +(js) val preserveSelected: Boolean

AjaxBootstrapSelect preserveSelected option

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/process-data.html b/api/pl.treksoft.kvision.form.select/-ajax-options/process-data.html index d853b79d..bbfa0391 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/process-data.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/process-data.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / processData

processData

- +(js) val processData: Boolean

JQuery ajax.processData option

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/request-delay.html b/api/pl.treksoft.kvision.form.select/-ajax-options/request-delay.html index c7bde7c7..fdbd6254 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/request-delay.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/request-delay.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / requestDelay

requestDelay

- +(js) val requestDelay: Int

AjaxBootstrapSelect requestDelay option

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/restore-on-error.html b/api/pl.treksoft.kvision.form.select/-ajax-options/restore-on-error.html index 412a6ff7..d8a80c6a 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/restore-on-error.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/restore-on-error.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / restoreOnError

restoreOnError

- +(js) val restoreOnError: Boolean

AjaxBootstrapSelect restoreOnError

diff --git a/api/pl.treksoft.kvision.form.select/-ajax-options/url.html b/api/pl.treksoft.kvision.form.select/-ajax-options/url.html index 3016e409..273c2ac0 100644 --- a/api/pl.treksoft.kvision.form.select/-ajax-options/url.html +++ b/api/pl.treksoft.kvision.form.select/-ajax-options/url.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.select / AjaxOptions / url

url

- +(js) val url: String?

the url address

-- cgit