summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.panel/-flex-panel/add.html
diff options
context:
space:
mode:
Diffstat (limited to 'api/pl.treksoft.kvision.panel/-flex-panel/add.html')
-rw-r--r--api/pl.treksoft.kvision.panel/-flex-panel/add.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.panel/-flex-panel/add.html b/api/pl.treksoft.kvision.panel/-flex-panel/add.html
new file mode 100644
index 00000000..fe953bd6
--- /dev/null
+++ b/api/pl.treksoft.kvision.panel/-flex-panel/add.html
@@ -0,0 +1,39 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>FlexPanel.add - 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.panel</a>&nbsp;/&nbsp;<a href="index.html">FlexPanel</a>&nbsp;/&nbsp;<a href="./add.html">add</a><br/>
+<br/>
+<h1>add</h1>
+<a name="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))"></a>
+<code><span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/child">child</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/order">order</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.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/grow">grow</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.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/shrink">shrink</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.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/basis">basis</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.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/alignSelf">alignSelf</span><span class="symbol">:</span>&nbsp;<a href="../-flex-align-items/index.html"><span class="identifier">FlexAlignItems</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/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="symbol">: </span><a href="index.html"><span class="identifier">FlexPanel</span></a></code>
+<p>Adds a component to the flexbox container.</p>
+<h3>Parameters</h3>
+<p><a name="child"></a>
+<code>child</code> - child component</p>
+<p><a name="order"></a>
+<code>order</code> - child flexbox ordering</p>
+<p><a name="grow"></a>
+<code>grow</code> - child flexbox grow</p>
+<p><a name="shrink"></a>
+<code>shrink</code> - child flexbox shrink</p>
+<p><a name="basis"></a>
+<code>basis</code> - child flexbox basis</p>
+<p><a name="alignSelf"></a>
+<code>alignSelf</code> - child self alignment</p>
+<p><a name="classes"></a>
+<code>classes</code> - a set of CSS class names</p>
+<a name="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component)"></a>
+<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">FlexPanel</span></a></code>
+<p>Overrides <a href="../-simple-panel/add.html">SimplePanel.add</a></p>
+<p>Adds given component to the current container.</p>
+<h3>Parameters</h3>
+<p><a name="child"></a>
+<code>child</code> - child component</p>
+<p><strong>Return</strong><br/>
+current container</p>
+</BODY>
+</HTML>