From 61545b3f1fb1844af350d187edd26285e98f0466 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 26 Feb 2018 14:21:46 +0100 Subject: API documentation update --- .../-abstract-text-input/autofocus.html | 6 +++ .../-abstract-text-input/disabled.html | 6 +++ .../-abstract-text-input/index.html | 48 +++++++++++++++++++++- .../-abstract-text-input/maxlength.html | 6 +++ .../-abstract-text-input/name.html | 6 +++ .../-abstract-text-input/placeholder.html | 6 +++ .../-abstract-text-input/readonly.html | 6 +++ .../-abstract-text-input/size.html | 8 +++- .../-abstract-text-input/start-value.html | 10 +++++ .../-abstract-text-input/value.html | 6 +++ 10 files changed, 106 insertions(+), 2 deletions(-) (limited to 'docs/api/pl.treksoft.kvision.form.text/-abstract-text-input') diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/autofocus.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/autofocus.html index f27ab031..e8409282 100644 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/autofocus.html +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/autofocus.html @@ -11,5 +11,11 @@ var autofocus: Boolean?

Determines if the text input is automatically focused.

+

Getter
+

Determines if the text input is automatically focused.

+

+

Setter
+

Determines if the text input is automatically focused.

+

diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/disabled.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/disabled.html index fdecb16a..37f89584 100644 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/disabled.html +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/disabled.html @@ -11,5 +11,11 @@ var disabled: Boolean

Determines if the field is disabled.

+

Getter
+

Determines if the field is disabled.

+

+

Setter
+

Determines if the field is disabled.

+

diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/index.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/index.html index eadfd60b..1323c61a 100644 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/index.html +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/index.html @@ -84,7 +84,7 @@

size

-var size: INPUTSIZE? +var size: InputSize?

The size of the input.

@@ -113,6 +113,15 @@ +

draggable

+ + +var draggable: Boolean? +

Determines if the current widget is draggable.

+ + + +

id

@@ -258,6 +267,15 @@ +

clearDragDropData

+ + +open fun clearDragDropData(): Unit +

Clears D&D data for the current widget. It also makes it not draggable.

+ + + +

getElement

@@ -350,6 +368,34 @@ +

setDragDropData

+ + +open fun setDragDropData(format: String, data: String): Unit +

Sets D&D data for the current widget. It also makes it draggable.

+ + + + +

setDropTarget

+ + +open fun setDropTarget(format: String, callback: (DragEvent) -> Unit): Unit
+open fun setDropTarget(formats: Set<String>? = null, callback: (DragEvent) -> Unit): Unit +

Sets the current widget as a D&D drop target.

+ + + + +

setDropTargetData

+ + +open fun setDropTargetData(format: String, callback: (String?) -> Unit): Unit +

Sets the current widget as a D&D drop target with helper callback accepting String data.

+ + + +

setEventListener

diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/maxlength.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/maxlength.html index 2703e548..caef8db7 100644 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/maxlength.html +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/maxlength.html @@ -11,5 +11,11 @@ var maxlength: Int?

Maximal length of the text input value.

+

Getter
+

Maximal length of the text input value.

+

+

Setter
+

Maximal length of the text input value.

+

diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/name.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/name.html index b275bccd..489596b9 100644 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/name.html +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/name.html @@ -11,5 +11,11 @@ var name: String?

The name attribute of the generated HTML input element.

+

Getter
+

The name attribute of the generated HTML input element.

+

+

Setter
+

The name attribute of the generated HTML input element.

+

diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/placeholder.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/placeholder.html index 33e918af..4891bd0b 100644 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/placeholder.html +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/placeholder.html @@ -11,5 +11,11 @@ var placeholder: String?

The placeholder for the text input.

+

Getter
+

The placeholder for the text input.

+

+

Setter
+

The placeholder for the text input.

+

diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/readonly.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/readonly.html index e3e89acf..cb2b662d 100644 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/readonly.html +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/readonly.html @@ -11,5 +11,11 @@ var readonly: Boolean?

Determines if the text input is read-only.

+

Getter
+

Determines if the text input is read-only.

+

+

Setter
+

Determines if the text input is read-only.

+

diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/size.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/size.html index fd5d9a05..84ddcc17 100644 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/size.html +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/size.html @@ -9,7 +9,13 @@

size

-var size: INPUTSIZE? +var size: InputSize?

The size of the input.

+

Getter
+

The size of the input.

+

+

Setter
+

The size of the input.

+

diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/start-value.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/start-value.html index 0befba8d..31d55e65 100644 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/start-value.html +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/start-value.html @@ -13,5 +13,15 @@

The value attribute of the generated HTML input element.

This value is placed directly in generated HTML code, while the value property is dynamically bound to the text input value.

+

Getter
+

The value attribute of the generated HTML input element.

+

This value is placed directly in generated HTML code, while the value property is dynamically +bound to the text input value.

+

+

Setter
+

The value attribute of the generated HTML input element.

+

This value is placed directly in generated HTML code, while the value property is dynamically +bound to the text input value.

+

diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/value.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/value.html index bf175e06..6c31c567 100644 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/value.html +++ b/docs/api/pl.treksoft.kvision.form.text/-abstract-text-input/value.html @@ -11,5 +11,11 @@ var value: String?

Text input value.

+

Getter
+

Text input value.

+

+

Setter
+

Text input value.

+

-- cgit