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

<init>

-Button(text: String, icon: String? = null, style: BUTTONSTYLE = BUTTONSTYLE.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf()) +Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf()) @@ -66,7 +66,7 @@

size

-var size: BUTTONSIZE? +var size: ButtonSize?

Button size.

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

style

-var style: BUTTONSTYLE +var style: ButtonStyle

Button style.

@@ -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 @@

button

-fun Container.button(text: String, icon: String? = null, style: BUTTONSTYLE = BUTTONSTYLE.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf(), init: Button.() -> Unit = null): Button +fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf(), init: Button.() -> Unit = null): Button

DSL builder extension function.

-- cgit