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 --- .../-check-input/index.html | 54 ++++++++++++++++++++-- 1 file changed, 50 insertions(+), 4 deletions(-) (limited to 'docs/api/pl.treksoft.kvision.form.check/-check-input/index.html') diff --git a/docs/api/pl.treksoft.kvision.form.check/-check-input/index.html b/docs/api/pl.treksoft.kvision.form.check/-check-input/index.html index f6957f17..8c184ab7 100644 --- a/docs/api/pl.treksoft.kvision.form.check/-check-input/index.html +++ b/docs/api/pl.treksoft.kvision.form.check/-check-input/index.html @@ -18,7 +18,7 @@

<init>

-CheckInput(type: CHECKINPUTTYPE = CHECKINPUTTYPE.CHECKBOX, value: Boolean = false, classes: Set<String> = setOf()) +CheckInput(type: CheckInputType = CheckInputType.CHECKBOX, value: Boolean = false, classes: Set<String> = setOf()) @@ -57,7 +57,7 @@

size

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

The size of the input.

@@ -75,7 +75,7 @@

type

-var type: CHECKINPUTTYPE +var type: CheckInputType

The type of the generated HTML input element.

@@ -95,6 +95,15 @@ +

draggable

+ + +var draggable: Boolean? +

Determines if the current widget is draggable.

+ + + +

id

@@ -240,6 +249,15 @@ +

clearDragDropData

+ + +open fun clearDragDropData(): Unit +

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

+ + + +

getElement

@@ -331,6 +349,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

@@ -368,7 +414,7 @@

checkInput

-fun Container.checkInput(type: CHECKINPUTTYPE = CHECKINPUTTYPE.CHECKBOX, value: Boolean = false, classes: Set<String> = setOf(), init: CheckInput.() -> Unit = null): CheckInput +fun Container.checkInput(type: CheckInputType = CheckInputType.CHECKBOX, value: Boolean = false, classes: Set<String> = setOf(), init: CheckInput.() -> Unit = null): CheckInput

DSL builder extension function.

-- cgit