diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-02-26 14:21:46 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-02-26 14:21:46 +0100 |
commit | 61545b3f1fb1844af350d187edd26285e98f0466 (patch) | |
tree | 332e6d6b246d6829e021a722ac721a43ad6e98d2 /docs/api/pl.treksoft.kvision.core/-widget/set-drop-target.html | |
parent | aa350102b7dea200fdd152b16a2948e681a98a0e (diff) | |
download | kvision-61545b3f1fb1844af350d187edd26285e98f0466.tar.gz kvision-61545b3f1fb1844af350d187edd26285e98f0466.tar.bz2 kvision-61545b3f1fb1844af350d187edd26285e98f0466.zip |
API documentation update
Diffstat (limited to 'docs/api/pl.treksoft.kvision.core/-widget/set-drop-target.html')
-rw-r--r-- | docs/api/pl.treksoft.kvision.core/-widget/set-drop-target.html | 28 |
1 files changed, 28 insertions, 0 deletions
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 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.setDropTarget - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.core</a> / <a href="index.html">Widget</a> / <a href="./set-drop-target.html">setDropTarget</a><br/> +<br/> +<h1>setDropTarget</h1> +<a name="pl.treksoft.kvision.core.Widget$setDropTarget(kotlin.String, kotlin.Function1((org.w3c.dom.DragEvent, kotlin.Unit)))"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setDropTarget</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDropTarget(kotlin.String, kotlin.Function1((org.w3c.dom.DragEvent, kotlin.Unit)))/format">format</span><span class="symbol">:</span> <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$setDropTarget(kotlin.String, kotlin.Function1((org.w3c.dom.DragEvent, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-drag-event/index.html"><span class="identifier">DragEvent</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><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 the current widget as a D&D drop target.</p> +<h3>Parameters</h3> +<p><a name="format"></a> +<code>format</code> - accepted D&D data format</p> +<p><a name="callback"></a> +<code>callback</code> - a callback function accepting event object called after any drop event</p> +<a name="pl.treksoft.kvision.core.Widget$setDropTarget(kotlin.collections.Set((kotlin.String)), kotlin.Function1((org.w3c.dom.DragEvent, kotlin.Unit)))"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setDropTarget</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDropTarget(kotlin.collections.Set((kotlin.String)), kotlin.Function1((org.w3c.dom.DragEvent, kotlin.Unit)))/formats">formats</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol"><</span><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> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDropTarget(kotlin.collections.Set((kotlin.String)), kotlin.Function1((org.w3c.dom.DragEvent, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-drag-event/index.html"><span class="identifier">DragEvent</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><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 the current widget as a D&D drop target.</p> +<h3>Parameters</h3> +<p><a name="formats"></a> +<code>formats</code> - a set of accepted D&D data formats</p> +<p><a name="callback"></a> +<code>callback</code> - a callback function accepting event object called after any drop event</p> +</BODY> +</HTML> |