summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.html/button.html
diff options
context:
space:
mode:
Diffstat (limited to 'api/pl.treksoft.kvision.html/button.html')
-rw-r--r--api/pl.treksoft.kvision.html/button.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/pl.treksoft.kvision.html/button.html b/api/pl.treksoft.kvision.html/button.html
index 0732454a..e10aae2f 100644
--- a/api/pl.treksoft.kvision.html/button.html
+++ b/api/pl.treksoft.kvision.html/button.html
@@ -8,7 +8,7 @@
<a href="../index.html">kvision</a>&nbsp;/&nbsp;<a href="index.html">pl.treksoft.kvision.html</a>&nbsp;/&nbsp;<a href="./button.html">button</a><br/>
<br/>
<h1>button</h1>
-<a name="pl.treksoft.kvision.html$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))"></a>
+(js) <a name="pl.treksoft.kvision.html$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, 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">button</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/text">text</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.html$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/icon">icon</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>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/style">style</span><span class="symbol">:</span>&nbsp;<a href="-button-style/index.html"><span class="identifier">ButtonStyle</span></a>&nbsp;<span class="symbol">=</span>&nbsp;ButtonStyle.PRIMARY<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/type">type</span><span class="symbol">:</span>&nbsp;<a href="-button-type/index.html"><span class="identifier">ButtonType</span></a>&nbsp;<span class="symbol">=</span>&nbsp;ButtonType.BUTTON<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, 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.html$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, 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.html$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="-button/index.html"><span class="identifier">Button</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="-button/index.html"><span class="identifier">Button</span></a></code>
<p>DSL builder extension function.</p>
<p>It takes the same parameters as the constructor of the built component.</p>