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