Package-level declarations

Material web tabs components (tabs, primary tab, secondary tab).

Types

Link copied to clipboard
open class MdPrimaryTab(text: String, inlineIcon: Boolean = false, active: Boolean = false, className: String? = null, init: MdPrimaryTab.() -> Unit? = null) : MdTab

Primary tabs are placed at the top of the content pane under a top app bar. They display the main content destinations.

Link copied to clipboard
open class MdSecondaryTab(text: String, active: Boolean = false, className: String? = null, init: MdSecondaryTab.() -> Unit? = null) : MdTab

Secondary tabs are used within a content area to further separate related content and establish hierarchy.

Link copied to clipboard

Tabs are element that belongs to a tab bar.

Link copied to clipboard
open class MdTabs(autoActivate: Boolean = false, activeTabIndex: Int = -1, className: String? = null, init: MdTabs.() -> Unit? = null) : MdListWidget<MdTab>

Tabs organize groups of related content that are at the same level of hierarchy.

Functions

Link copied to clipboard
fun MdTabs.primaryTab(text: String, inlineIcon: Boolean = false, active: Boolean = false, className: String? = null, init: MdPrimaryTab.() -> Unit? = null): MdPrimaryTab
Link copied to clipboard
fun MdTabs.secondaryTab(text: String, active: Boolean = false, className: String? = null, init: MdSecondaryTab.() -> Unit? = null): MdSecondaryTab
Link copied to clipboard
fun Container.tabs(autoActivate: Boolean = false, activeTabIndex: Int = -1, className: String? = null, init: MdTabs.() -> Unit? = null): MdTabs