diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-10-26 00:17:24 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-10-26 00:17:24 +0200 |
commit | fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb (patch) | |
tree | 911c8e9b208b9ba77f00531668d1d99b40fcb8e3 /api/pl.treksoft.kvision.dropdown/index.html | |
parent | 4f5db77ec2db6c87cb93ceb9f7ea9ab311247f17 (diff) | |
download | kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.tar.gz kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.tar.bz2 kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.zip |
API documentation for KVision 2.0.0
Diffstat (limited to 'api/pl.treksoft.kvision.dropdown/index.html')
-rw-r--r-- | api/pl.treksoft.kvision.dropdown/index.html | 101 |
1 files changed, 99 insertions, 2 deletions
diff --git a/api/pl.treksoft.kvision.dropdown/index.html b/api/pl.treksoft.kvision.dropdown/index.html index 7a7a7294..cbd2ca11 100644 --- a/api/pl.treksoft.kvision.dropdown/index.html +++ b/api/pl.treksoft.kvision.dropdown/index.html @@ -17,7 +17,7 @@ <p><a href="-context-menu/index.html">ContextMenu</a></p> </td> <td> -<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">ContextMenu</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.html/-list-tag/index.html"><span class="identifier">ListTag</span></a></code> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">ContextMenu</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.html/-div/index.html"><span class="identifier">Div</span></a></code> <p>Context menu component.</p> </td> </tr> @@ -32,6 +32,15 @@ </tr> <tr> <td> +<p><a href="-direction/index.html">Direction</a></p> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Direction</span></code> +<p>Dropdown directions.</p> +</td> +</tr> +<tr> +<td> <p><a href="-drop-down/index.html">DropDown</a></p> </td> <td> @@ -53,11 +62,99 @@ <p><a href="-separator/index.html">Separator</a></p> </td> <td> -<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Separator</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.html/-tag/index.html"><span class="identifier">Tag</span></a></code> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Separator</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.html/-div/index.html"><span class="identifier">Div</span></a></code> <p>Menu separator component.</p> </td> </tr> </tbody> </table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="cm-link.html">cmLink</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="-context-menu/index.html"><span class="identifier">ContextMenu</span></a><span class="symbol">.</span><span class="identifier">cmLink</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown$cmLink(pl.treksoft.kvision.dropdown.ContextMenu, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/label">label</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.dropdown$cmLink(pl.treksoft.kvision.dropdown.ContextMenu, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/url">url</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$cmLink(pl.treksoft.kvision.dropdown.ContextMenu, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/icon">icon</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$cmLink(pl.treksoft.kvision.dropdown.ContextMenu, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/image">image</span><span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$cmLink(pl.treksoft.kvision.dropdown.ContextMenu, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/classes">classes</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> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$cmLink(pl.treksoft.kvision.dropdown.ContextMenu, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../pl.treksoft.kvision.html/-link/index.html"><span class="identifier">Link</span></a><span class="symbol">.</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><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="../pl.treksoft.kvision.html/-link/index.html"><span class="identifier">Link</span></a></code> +<p>DSL builder extension function for a link in a context menu list.</p> +</td> +</tr> +<tr> +<td> +<p><a href="cm-link-disabled.html">cmLinkDisabled</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="-context-menu/index.html"><span class="identifier">ContextMenu</span></a><span class="symbol">.</span><span class="identifier">cmLinkDisabled</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown$cmLinkDisabled(pl.treksoft.kvision.dropdown.ContextMenu, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/label">label</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.dropdown$cmLinkDisabled(pl.treksoft.kvision.dropdown.ContextMenu, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/icon">icon</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$cmLinkDisabled(pl.treksoft.kvision.dropdown.ContextMenu, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/image">image</span><span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$cmLinkDisabled(pl.treksoft.kvision.dropdown.ContextMenu, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/classes">classes</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> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$cmLinkDisabled(pl.treksoft.kvision.dropdown.ContextMenu, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../pl.treksoft.kvision.html/-link/index.html"><span class="identifier">Link</span></a><span class="symbol">.</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><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="../pl.treksoft.kvision.html/-link/index.html"><span class="identifier">Link</span></a></code> +<p>DSL builder extension function for a disabled link in a context menu list.</p> +</td> +</tr> +<tr> +<td> +<p><a href="context-menu.html">contextMenu</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">.</span><span class="identifier">contextMenu</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown$contextMenu(pl.treksoft.kvision.core.Widget, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.ContextMenu, kotlin.Unit)))/fixedPosition">fixedPosition</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> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$contextMenu(pl.treksoft.kvision.core.Widget, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.ContextMenu, kotlin.Unit)))/classes">classes</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> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$contextMenu(pl.treksoft.kvision.core.Widget, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.ContextMenu, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="-context-menu/index.html"><span class="identifier">ContextMenu</span></a><span class="symbol">.</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><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="-context-menu/index.html"><span class="identifier">ContextMenu</span></a></code> +<p>DSL builder extension function.</p> +</td> +</tr> +<tr> +<td> +<p><a href="dd-link.html">ddLink</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="-drop-down/index.html"><span class="identifier">DropDown</span></a><span class="symbol">.</span><span class="identifier">ddLink</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown$ddLink(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/label">label</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.dropdown$ddLink(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/url">url</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$ddLink(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/icon">icon</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$ddLink(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/image">image</span><span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$ddLink(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/classes">classes</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> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$ddLink(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../pl.treksoft.kvision.html/-link/index.html"><span class="identifier">Link</span></a><span class="symbol">.</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><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="../pl.treksoft.kvision.html/-link/index.html"><span class="identifier">Link</span></a></code> +<p>DSL builder extension function for a link in a dropdown list.</p> +</td> +</tr> +<tr> +<td> +<p><a href="dd-link-disabled.html">ddLinkDisabled</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="-drop-down/index.html"><span class="identifier">DropDown</span></a><span class="symbol">.</span><span class="identifier">ddLinkDisabled</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown$ddLinkDisabled(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/label">label</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.dropdown$ddLinkDisabled(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/icon">icon</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$ddLinkDisabled(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/image">image</span><span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$ddLinkDisabled(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/classes">classes</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> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$ddLinkDisabled(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../pl.treksoft.kvision.html/-link/index.html"><span class="identifier">Link</span></a><span class="symbol">.</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><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="../pl.treksoft.kvision.html/-link/index.html"><span class="identifier">Link</span></a></code> +<p>DSL builder extension function for a disabled link in a dropdown list.</p> +</td> +</tr> +<tr> +<td> +<p><a href="drop-down.html">dropDown</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">dropDown</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown$dropDown(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.dropdown.Direction, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.DropDown, kotlin.Unit)))/text">text</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.dropdown$dropDown(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.dropdown.Direction, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.DropDown, kotlin.Unit)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../pl.treksoft.kvision.core/-string-pair.html"><span class="identifier">StringPair</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.dropdown$dropDown(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.dropdown.Direction, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.DropDown, kotlin.Unit)))/icon">icon</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$dropDown(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.dropdown.Direction, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.DropDown, kotlin.Unit)))/style">style</span><span class="symbol">:</span> <a href="../pl.treksoft.kvision.html/-button-style/index.html"><span class="identifier">ButtonStyle</span></a> <span class="symbol">=</span> ButtonStyle.PRIMARY<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$dropDown(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.dropdown.Direction, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.DropDown, kotlin.Unit)))/direction">direction</span><span class="symbol">:</span> <a href="-direction/index.html"><span class="identifier">Direction</span></a> <span class="symbol">=</span> Direction.DROPDOWN<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$dropDown(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.dropdown.Direction, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.DropDown, kotlin.Unit)))/disabled">disabled</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> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$dropDown(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.dropdown.Direction, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.DropDown, kotlin.Unit)))/forNavbar">forNavbar</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> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$dropDown(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.dropdown.Direction, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.DropDown, kotlin.Unit)))/forDropDown">forDropDown</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> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$dropDown(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.dropdown.Direction, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.DropDown, kotlin.Unit)))/classes">classes</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> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$dropDown(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.dropdown.Direction, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.DropDown, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="-drop-down/index.html"><span class="identifier">DropDown</span></a><span class="symbol">.</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><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="-drop-down/index.html"><span class="identifier">DropDown</span></a></code> +<p>DSL builder extension function.</p> +</td> +</tr> +<tr> +<td> +<p><a href="header.html">header</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="-context-menu/index.html"><span class="identifier">ContextMenu</span></a><span class="symbol">.</span><span class="identifier">header</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown$header(pl.treksoft.kvision.dropdown.ContextMenu, kotlin.String, kotlin.collections.Set((kotlin.String)))/content">content</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$header(pl.treksoft.kvision.dropdown.ContextMenu, kotlin.String, kotlin.collections.Set((kotlin.String)))/classes">classes</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> setOf()<span class="symbol">)</span><span class="symbol">: </span><a href="-header/index.html"><span class="identifier">Header</span></a></code><br/> +<code><span class="keyword">fun </span><a href="-drop-down/index.html"><span class="identifier">DropDown</span></a><span class="symbol">.</span><span class="identifier">header</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown$header(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.collections.Set((kotlin.String)))/content">content</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown$header(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.collections.Set((kotlin.String)))/classes">classes</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> setOf()<span class="symbol">)</span><span class="symbol">: </span><a href="-header/index.html"><span class="identifier">Header</span></a></code> +<p>DSL builder extension function.</p> +</td> +</tr> +<tr> +<td> +<p><a href="separator.html">separator</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="-context-menu/index.html"><span class="identifier">ContextMenu</span></a><span class="symbol">.</span><span class="identifier">separator</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown$separator(pl.treksoft.kvision.dropdown.ContextMenu, kotlin.collections.Set((kotlin.String)))/classes">classes</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> setOf()<span class="symbol">)</span><span class="symbol">: </span><a href="-separator/index.html"><span class="identifier">Separator</span></a></code><br/> +<code><span class="keyword">fun </span><a href="-drop-down/index.html"><span class="identifier">DropDown</span></a><span class="symbol">.</span><span class="identifier">separator</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown$separator(pl.treksoft.kvision.dropdown.DropDown, kotlin.collections.Set((kotlin.String)))/classes">classes</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> setOf()<span class="symbol">)</span><span class="symbol">: </span><a href="-separator/index.html"><span class="identifier">Separator</span></a></code> +<p>DSL builder extension function.</p> +</td> +</tr> +<tr> +<td> +<p><a href="set-context-menu.html">setContextMenu</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">.</span><span class="identifier">setContextMenu</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown$setContextMenu(pl.treksoft.kvision.core.Widget, pl.treksoft.kvision.dropdown.ContextMenu)/contextMenu">contextMenu</span><span class="symbol">:</span> <a href="-context-menu/index.html"><span class="identifier">ContextMenu</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Sets context menu for the current widget.</p> +</td> +</tr> +</tbody> +</table> </BODY> </HTML> |