addTab

open fun addTab(title: String, panel: <Error class: unknown class>, icon: String? = null, image: <Error class: unknown class>? = null, closable: Boolean = false, route: String? = null)

Creates and adds new tab component.

Parameters

title

title of the tab

panel

child component

icon

icon of the tab

image

image of the tab

closable

determines if this tab is closable

route

JavaScript route to activate given child