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 | |
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')
9 files changed, 241 insertions, 1 deletions
diff --git a/docs/api/pl.treksoft.kvision.core/-widget/clear-drag-drop-data.html b/docs/api/pl.treksoft.kvision.core/-widget/clear-drag-drop-data.html new file mode 100644 index 00000000..2a6a3dc3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/clear-drag-drop-data.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.clearDragDropData - 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="./clear-drag-drop-data.html">clearDragDropData</a><br/> +<br/> +<h1>clearDragDropData</h1> +<a name="pl.treksoft.kvision.core.Widget$clearDragDropData()"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">clearDragDropData</span><span class="symbol">(</span><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>Clears D&D data for the current widget. It also makes it not draggable.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/draggable.html b/docs/api/pl.treksoft.kvision.core/-widget/draggable.html new file mode 100644 index 00000000..36163175 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/draggable.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.draggable - 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="./draggable.html">draggable</a><br/> +<br/> +<h1>draggable</h1> +<a name="pl.treksoft.kvision.core.Widget$draggable"></a> +<code><span class="keyword">var </span><span class="identifier">draggable</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code> +<p>Determines if the current widget is draggable.</p> +<p><strong>Getter</strong><br/> +<p>Determines if the current widget is draggable.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Determines if the current widget is draggable.</p> +</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/id.html b/docs/api/pl.treksoft.kvision.core/-widget/id.html index b2df32cd..6dc07ce1 100644 --- a/docs/api/pl.treksoft.kvision.core/-widget/id.html +++ b/docs/api/pl.treksoft.kvision.core/-widget/id.html @@ -11,5 +11,11 @@ <a name="pl.treksoft.kvision.core.Widget$id"></a> <code><span class="keyword">var </span><span class="identifier">id</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></code> <p>An ID attribute of generated HTML element.</p> +<p><strong>Getter</strong><br/> +<p>An ID attribute of generated HTML element.</p> +</p> +<p><strong>Setter</strong><br/> +<p>An ID attribute of generated HTML element.</p> +</p> </BODY> </HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/index.html b/docs/api/pl.treksoft.kvision.core/-widget/index.html index e8fca9b0..302b75d8 100644 --- a/docs/api/pl.treksoft.kvision.core/-widget/index.html +++ b/docs/api/pl.treksoft.kvision.core/-widget/index.html @@ -30,6 +30,15 @@ <tbody> <tr> <td> +<p><a href="draggable.html">draggable</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">draggable</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code> +<p>Determines if the current widget is draggable.</p> +</td> +</tr> +<tr> +<td> <p><a href="id.html">id</a></p> </td> <td> @@ -134,6 +143,15 @@ </tr> <tr> <td> +<p><a href="../-styled-component/bottom.html">bottom</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">bottom</span><span class="symbol">: </span><a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span></code> +<p>Bottom edge of the current component.</p> +</td> +</tr> +<tr> +<td> <p><a href="../-styled-component/color.html">color</a></p> </td> <td> @@ -155,7 +173,7 @@ <p><a href="../-styled-component/color-name.html">colorName</a></p> </td> <td> -<code><span class="keyword">var </span><span class="identifier">colorName</span><span class="symbol">: </span><a href="../-c-o-l-o-r/index.html"><span class="identifier">COLOR</span></a><span class="symbol">?</span></code> +<code><span class="keyword">var </span><span class="identifier">colorName</span><span class="symbol">: </span><a href="../-col/index.html"><span class="identifier">Col</span></a><span class="symbol">?</span></code> <p>Text color for the current component given with named constant (write only).</p> </td> </tr> @@ -170,6 +188,15 @@ </tr> <tr> <td> +<p><a href="../-styled-component/left.html">left</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">left</span><span class="symbol">: </span><a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span></code> +<p>Left edge of the current component.</p> +</td> +</tr> +<tr> +<td> <p><a href="../-styled-component/margin.html">margin</a></p> </td> <td> @@ -260,6 +287,15 @@ </tr> <tr> <td> +<p><a href="../-styled-component/overflow.html">overflow</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">overflow</span><span class="symbol">: </span><a href="../-overflow/index.html"><span class="identifier">Overflow</span></a><span class="symbol">?</span></code> +<p>CSS overflow of the current component.</p> +</td> +</tr> +<tr> +<td> <p><a href="../-styled-component/padding.html">padding</a></p> </td> <td> @@ -305,6 +341,42 @@ </tr> <tr> <td> +<p><a href="../-styled-component/position.html">position</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">position</span><span class="symbol">: </span><a href="../-position/index.html"><span class="identifier">Position</span></a><span class="symbol">?</span></code> +<p>CSS position of the current component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-styled-component/resize.html">resize</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">resize</span><span class="symbol">: </span><a href="../-resize/index.html"><span class="identifier">Resize</span></a><span class="symbol">?</span></code> +<p>CSS resize of the current component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-styled-component/right.html">right</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">right</span><span class="symbol">: </span><a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span></code> +<p>Right edge of the current component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-styled-component/top.html">top</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">top</span><span class="symbol">: </span><a href="../-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span></code> +<p>Top edge of the current component.</p> +</td> +</tr> +<tr> +<td> <p><a href="../-styled-component/width.html">width</a></p> </td> <td> @@ -312,6 +384,15 @@ <p>Width of the current component.</p> </td> </tr> +<tr> +<td> +<p><a href="../-styled-component/z-index.html">zIndex</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">zIndex</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span></code> +<p>Z-index of the current component.</p> +</td> +</tr> </tbody> </table> <h3>Functions</h3> @@ -373,6 +454,15 @@ </tr> <tr> <td> +<p><a href="clear-drag-drop-data.html">clearDragDropData</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">clearDragDropData</span><span class="symbol">(</span><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>Clears D&D data for the current widget. It also makes it not draggable.</p> +</td> +</tr> +<tr> +<td> <p><a href="get-element.html">getElement</a></p> </td> <td> @@ -483,6 +573,34 @@ </tr> <tr> <td> +<p><a href="set-drag-drop-data.html">setDragDropData</a></p> +</td> +<td> +<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> <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> <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> +</td> +</tr> +<tr> +<td> +<p><a href="set-drop-target.html">setDropTarget</a></p> +</td> +<td> +<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><br/> +<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> +</td> +</tr> +<tr> +<td> +<p><a href="set-drop-target-data.html">setDropTargetData</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setDropTargetData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDropTargetData(kotlin.String, kotlin.Function1((kotlin.String, 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$setDropTargetData(kotlin.String, kotlin.Function1((kotlin.String, kotlin.Unit)))/callback">callback</span><span class="symbol">:</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="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 with helper callback accepting String data.</p> +</td> +</tr> +<tr> +<td> <p><a href="set-event-listener.html">setEventListener</a></p> </td> <td> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/role.html b/docs/api/pl.treksoft.kvision.core/-widget/role.html index 1b08d3b9..f70ff167 100644 --- a/docs/api/pl.treksoft.kvision.core/-widget/role.html +++ b/docs/api/pl.treksoft.kvision.core/-widget/role.html @@ -11,5 +11,11 @@ <a name="pl.treksoft.kvision.core.Widget$role"></a> <code><span class="keyword">var </span><span class="identifier">role</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></code> <p>A role attribute of generated HTML element.</p> +<p><strong>Getter</strong><br/> +<p>A role attribute of generated HTML element.</p> +</p> +<p><strong>Setter</strong><br/> +<p>A role attribute of generated HTML element.</p> +</p> </BODY> </HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/set-drag-drop-data.html b/docs/api/pl.treksoft.kvision.core/-widget/set-drag-drop-data.html new file mode 100644 index 00000000..f3a125fc --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/set-drag-drop-data.html @@ -0,0 +1,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> / <a href="../index.html">pl.treksoft.kvision.core</a> / <a href="index.html">Widget</a> / <a href="./set-drag-drop-data.html">setDragDropData</a><br/> +<br/> +<h1>setDragDropData</h1> +<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> <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> <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> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/set-drop-target-data.html b/docs/api/pl.treksoft.kvision.core/-widget/set-drop-target-data.html new file mode 100644 index 00000000..9be734e9 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/set-drop-target-data.html @@ -0,0 +1,20 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.setDropTargetData - 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-data.html">setDropTargetData</a><br/> +<br/> +<h1>setDropTargetData</h1> +<a name="pl.treksoft.kvision.core.Widget$setDropTargetData(kotlin.String, kotlin.Function1((kotlin.String, kotlin.Unit)))"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setDropTargetData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDropTargetData(kotlin.String, kotlin.Function1((kotlin.String, 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$setDropTargetData(kotlin.String, kotlin.Function1((kotlin.String, kotlin.Unit)))/callback">callback</span><span class="symbol">:</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="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 with helper callback accepting String data.</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 String data called after any drop event</p> +</BODY> +</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 @@ +<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> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/title.html b/docs/api/pl.treksoft.kvision.core/-widget/title.html index 98fe3eda..31ca42cc 100644 --- a/docs/api/pl.treksoft.kvision.core/-widget/title.html +++ b/docs/api/pl.treksoft.kvision.core/-widget/title.html @@ -11,5 +11,11 @@ <a name="pl.treksoft.kvision.core.Widget$title"></a> <code><span class="keyword">var </span><span class="identifier">title</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></code> <p>A title attribute of generated HTML element.</p> +<p><strong>Getter</strong><br/> +<p>A title attribute of generated HTML element.</p> +</p> +<p><strong>Setter</strong><br/> +<p>A title attribute of generated HTML element.</p> +</p> </BODY> </HTML> |