diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-02-09 13:40:35 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-02-09 13:40:35 +0100 |
commit | d8cd67062b8de6e8398dc6dfd00d201200c82414 (patch) | |
tree | 601082ec1eec73bc7a7d6ce8b51352e5345ffe81 /docs/api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html | |
parent | 955304789ea83aceacbdf4c8a9eb742f6c2518f6 (diff) | |
download | kvision-d8cd67062b8de6e8398dc6dfd00d201200c82414.tar.gz kvision-d8cd67062b8de6e8398dc6dfd00d201200c82414.tar.bz2 kvision-d8cd67062b8de6e8398dc6dfd00d201200c82414.zip |
API doc and readme
Diffstat (limited to 'docs/api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html')
-rw-r--r-- | docs/api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html b/docs/api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html new file mode 100644 index 00000000..994ff44e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html @@ -0,0 +1,28 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TabPanel.addTab - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.panel</a> / <a href="index.html">TabPanel</a> / <a href="./add-tab.html">addTab</a><br/> +<br/> +<h1>addTab</h1> +<a name="pl.treksoft.kvision.panel.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.String)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addTab</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.String)/title">title</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.panel.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.String)/panel">panel</span><span class="symbol">:</span> <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.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.String)/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.panel.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.String)/image">image</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.String)/route">route</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="symbol">: </span><a href="index.html"><span class="identifier">TabPanel</span></a></code> +<p>Adds new tab and optionally bounds it's activation to a given route.</p> +<h3>Parameters</h3> +<p><a name="title"></a> +<code>title</code> - title of the tab</p> +<p><a name="panel"></a> +<code>panel</code> - child component</p> +<p><a name="icon"></a> +<code>icon</code> - icon of the tab</p> +<p><a name="image"></a> +<code>image</code> - image of the tab</p> +<p><a name="route"></a> +<code>route</code> - JavaScript route to activate given child</p> +<p><strong>Return</strong><br/> +current container</p> +</BODY> +</HTML> |