1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>dropDown - kvision</title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">kvision</a> / <a href="index.html">pl.treksoft.kvision.dropdown</a> / <a href="./drop-down.html">dropDown</a><br/>
<br/>
<h1>dropDown</h1>
(js) <a name="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.String, kotlin.Function1((pl.treksoft.kvision.dropdown.DropDown, kotlin.Unit)))"></a>
<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.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.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.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.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.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.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.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.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.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> <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.String, kotlin.Function1((pl.treksoft.kvision.dropdown.DropDown, kotlin.Unit)))/className">className</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.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>
<p>It takes the same parameters as the constructor of the built component.</p>
</BODY>
</HTML>
|