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 --- .../-widget-wrapper/index.html | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) (limited to 'docs/api/pl.treksoft.kvision.core/-widget-wrapper') diff --git a/docs/api/pl.treksoft.kvision.core/-widget-wrapper/index.html b/docs/api/pl.treksoft.kvision.core/-widget-wrapper/index.html index 50c17f77..1c02a8b6 100644 --- a/docs/api/pl.treksoft.kvision.core/-widget-wrapper/index.html +++ b/docs/api/pl.treksoft.kvision.core/-widget-wrapper/index.html @@ -41,6 +41,15 @@ +

draggable

+ + +var draggable: Boolean? +

Determines if the current widget is draggable.

+ + + +

id

@@ -150,6 +159,15 @@ +

clearDragDropData

+ + +open fun clearDragDropData(): Unit +

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

+ + + +

getElement

@@ -259,6 +277,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

-- cgit