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/-drop-down/-init-.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/-drop-down/-init-.html')
-rw-r--r-- | api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html b/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html index 67e3cdef..b888b053 100644 --- a/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html +++ b/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html @@ -8,8 +8,8 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.dropdown</a> / <a href="index.html">DropDown</a> / <a href="./-init-.html"><init></a><br/> <br/> <h1><init></h1> -<a name="pl.treksoft.kvision.dropdown.DropDown$<init>(kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))"></a> -<code><span class="identifier">DropDown</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown.DropDown$<init>(kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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$<init>(kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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$<init>(kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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$<init>(kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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.DEFAULT<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown.DropDown$<init>(kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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$<init>(kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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$<init>(kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/withCaret">withCaret</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.dropdown.DropDown$<init>(kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.String, pl.treksoft.kvision.html.ButtonStyle, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, 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></code> +<a name="pl.treksoft.kvision.dropdown.DropDown$<init>(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)))"></a> +<code><span class="identifier">DropDown</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown.DropDown$<init>(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)))/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$<init>(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)))/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$<init>(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)))/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$<init>(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)))/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$<init>(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)))/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$<init>(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)))/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$<init>(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)))/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$<init>(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)))/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$<init>(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)))/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></code> <h3>Parameters</h3> <p><a name="text"></a> <code>text</code> - the label of the dropdown button</p> @@ -19,12 +19,14 @@ <code>icon</code> - the icon of the dropdown button</p> <p><a name="style"></a> <code>style</code> - the style of the dropdown button</p> +<p><a name="direction"></a> +<code>direction</code> - the direction of the dropdown</p> <p><a name="disabled"></a> <code>disabled</code> - determines if the component is disabled on start</p> <p><a name="forNavbar"></a> <code>forNavbar</code> - determines if the component will be used in a navbar</p> -<p><a name="withCaret"></a> -<code>withCaret</code> - determines if the dropdown button renders caret</p> +<p><a name="forDropDown"></a> +<code>forDropDown</code> - determines if the component will be used in a dropdown</p> <p><a name="classes"></a> <code>classes</code> - a set of CSS class names</p> <p><strong>Constructor</strong><br/> |