From d8cd67062b8de6e8398dc6dfd00d201200c82414 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 9 Feb 2018 13:40:35 +0100 Subject: API doc and readme --- .../-tab-panel/add-tab.html | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html (limited to 'docs/api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html') 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 @@ + + + +TabPanel.addTab - kvision + + + +kvision / pl.treksoft.kvision.panel / TabPanel / addTab
+
+

addTab

+ +open fun addTab(title: String, panel: Component, icon: String? = null, image: ResString? = null, route: String? = null): TabPanel +

Adds new tab and optionally bounds it's activation to a given route.

+

Parameters

+

+title - title of the tab

+

+panel - child component

+

+icon - icon of the tab

+

+image - image of the tab

+

+route - JavaScript route to activate given child

+

Return
+current container

+ + -- cgit