aboutsummaryrefslogtreecommitdiff
path: root/docs/api/pl.treksoft.kvision.panel/-stack-panel/add.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api/pl.treksoft.kvision.panel/-stack-panel/add.html')
-rw-r--r--docs/api/pl.treksoft.kvision.panel/-stack-panel/add.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/api/pl.treksoft.kvision.panel/-stack-panel/add.html b/docs/api/pl.treksoft.kvision.panel/-stack-panel/add.html
new file mode 100644
index 00000000..64c9b308
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.panel/-stack-panel/add.html
@@ -0,0 +1,31 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>StackPanel.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">StackPanel</a>&nbsp;/&nbsp;<a href="./add.html">add</a><br/>
+<br/>
+<h1>add</h1>
+<a name="pl.treksoft.kvision.panel.StackPanel$add(pl.treksoft.kvision.core.Component, kotlin.String)"></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.StackPanel$add(pl.treksoft.kvision.core.Component, kotlin.String)/panel">panel</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.StackPanel$add(pl.treksoft.kvision.core.Component, kotlin.String)/route">route</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="symbol">: </span><a href="index.html"><span class="identifier">StackPanel</span></a></code>
+<p>Adds given component and bounds it's activation to a given route.</p>
+<h3>Parameters</h3>
+<p><a name="panel"></a>
+<code>panel</code> - child component</p>
+<p><a name="route"></a>
+<code>route</code> - JavaScript route to activate given child</p>
+<p><strong>Return</strong><br/>
+current container</p>
+<a name="pl.treksoft.kvision.panel.StackPanel$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.StackPanel$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">StackPanel</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>