aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.core/-widget/set-drag-drop-data.html
blob: e25a9199dcacd90089d78ad86f2c0546fcecf9cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Widget.setDragDropData - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.core</a>&nbsp;/&nbsp;<a href="index.html">Widget</a>&nbsp;/&nbsp;<a href="./set-drag-drop-data.html">setDragDropData</a><br/>
<br/>
<h1>setDragDropData</h1>
(js) <a name="pl.treksoft.kvision.core.Widget$setDragDropData(kotlin.String, kotlin.String)"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setDragDropData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDragDropData(kotlin.String, kotlin.String)/format">format</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDragDropData(kotlin.String, kotlin.String)/data">data</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Sets D&D data for the current widget. It also makes it draggable.</p>
<h3>Parameters</h3>
<p><a name="format"></a>
<code>format</code> - D&D data format</p>
<p><a name="data"></a>
<code>data</code> - D&D data transferred to a drop target</p>
</BODY>
</HTML>