From a8ff23c5e58394c21e2e7c2a4880302b43b60dfd Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 16 May 2019 15:06:28 +0200 Subject: API documentation for KVision 0.0.36 --- api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html') diff --git a/api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html b/api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html index 994ff44e..fd140749 100644 --- a/api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html +++ b/api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html @@ -8,8 +8,8 @@ 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 + +open fun addTab(title: String, panel: Component, icon: String? = null, image: ResString? = null, closable: Boolean = false, route: String? = null): TabPanel

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

Parameters

@@ -20,6 +20,8 @@ icon - icon of the tab

image - image of the tab

+

+closable - determines if this tab is closable

route - JavaScript route to activate given child

Return
-- cgit