kvision / pl.treksoft.kvision.onsenui.tabbar / Tab / <init>

<init>

(js) Tab(label: String? = null, icon: String? = null, activeIcon: String? = null, badge: String? = null, active: Boolean? = null, classes: Set<String> = setOf(), init: (Tab.() -> Unit)? = null)

Creates a tab component.

Parameters

label - the label of the tab item

icon - the name of the icon

activeIcon - the name of the icon when the tab is active

badge - display a notification badge on top of the tab

active - whether this tab is active on start

classes - a set of CSS class names

init - an initializer extension function

Constructor
Creates a tab component.