summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form.select/select-opt-group.html
blob: 21ff28cb1d3b4b246d49719fbf51c63374f9b666 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>selectOptGroup - kvision</title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">kvision</a>&nbsp;/&nbsp;<a href="index.html">pl.treksoft.kvision.form.select</a>&nbsp;/&nbsp;<a href="./select-opt-group.html">selectOptGroup</a><br/>
<br/>
<h1>selectOptGroup</h1>
(js) <a name="pl.treksoft.kvision.form.select$selectOptGroup(pl.treksoft.kvision.form.select.Select, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.select.SelectOptGroup, kotlin.Unit)))"></a>
<code><span class="keyword">fun </span><a href="-select/index.html"><span class="identifier">Select</span></a><span class="symbol">.</span><span class="identifier">selectOptGroup</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select$selectOptGroup(pl.treksoft.kvision.form.select.Select, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.select.SelectOptGroup, kotlin.Unit)))/label">label</span><span class="symbol">:</span>&nbsp;<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.form.select$selectOptGroup(pl.treksoft.kvision.form.select.Select, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.select.SelectOptGroup, kotlin.Unit)))/options">options</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../pl.treksoft.kvision.core/-string-pair.html"><span class="identifier">StringPair</span></a><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectOptGroup(pl.treksoft.kvision.form.select.Select, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.select.SelectOptGroup, kotlin.Unit)))/maxOptions">maxOptions</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectOptGroup(pl.treksoft.kvision.form.select.Select, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.select.SelectOptGroup, kotlin.Unit)))/disabled">disabled</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectOptGroup(pl.treksoft.kvision.form.select.Select, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.select.SelectOptGroup, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectOptGroup(pl.treksoft.kvision.form.select.Select, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.select.SelectOptGroup, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="-select-opt-group/index.html"><span class="identifier">SelectOptGroup</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="-select-opt-group/index.html"><span class="identifier">SelectOptGroup</span></a></code><br/>
<a name="pl.treksoft.kvision.form.select$selectOptGroup(pl.treksoft.kvision.form.select.SelectInput, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.select.SelectOptGroup, kotlin.Unit)))"></a>
<code><span class="keyword">fun </span><a href="-select-input/index.html"><span class="identifier">SelectInput</span></a><span class="symbol">.</span><span class="identifier">selectOptGroup</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select$selectOptGroup(pl.treksoft.kvision.form.select.SelectInput, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.select.SelectOptGroup, kotlin.Unit)))/label">label</span><span class="symbol">:</span>&nbsp;<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.form.select$selectOptGroup(pl.treksoft.kvision.form.select.SelectInput, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.select.SelectOptGroup, kotlin.Unit)))/options">options</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../pl.treksoft.kvision.core/-string-pair.html"><span class="identifier">StringPair</span></a><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectOptGroup(pl.treksoft.kvision.form.select.SelectInput, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.select.SelectOptGroup, kotlin.Unit)))/maxOptions">maxOptions</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectOptGroup(pl.treksoft.kvision.form.select.SelectInput, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.select.SelectOptGroup, kotlin.Unit)))/disabled">disabled</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectOptGroup(pl.treksoft.kvision.form.select.SelectInput, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.select.SelectOptGroup, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select$selectOptGroup(pl.treksoft.kvision.form.select.SelectInput, kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.select.SelectOptGroup, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="-select-opt-group/index.html"><span class="identifier">SelectOptGroup</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="-select-opt-group/index.html"><span class="identifier">SelectOptGroup</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>