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/set-drop-target.html | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/api/pl.treksoft.kvision.core/-widget/set-drop-target.html (limited to 'docs/api/pl.treksoft.kvision.core/-widget/set-drop-target.html') diff --git a/docs/api/pl.treksoft.kvision.core/-widget/set-drop-target.html b/docs/api/pl.treksoft.kvision.core/-widget/set-drop-target.html new file mode 100644 index 00000000..238c5f81 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/set-drop-target.html @@ -0,0 +1,28 @@ + + + +Widget.setDropTarget - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / setDropTarget
+
+

setDropTarget

+ +open fun setDropTarget(format: String, callback: (DragEvent) -> Unit): Unit +

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

+

Parameters

+

+format - accepted D&D data format

+

+callback - a callback function accepting event object called after any drop event

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

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

+

Parameters

+

+formats - a set of accepted D&D data formats

+

+callback - a callback function accepting event object called after any drop event

+ + -- cgit