Tab

open class Tab(label: String?, icon: String?, image: <ERROR CLASS>?, closable: Boolean, route: String?, init: Tab.() -> Unit?)

The single Tab component inside the TabPanel container.

Parameters

label

label of the tab

icon

icon of the tab

image

image of the tab

closable

determines if this tab is closable

route

JavaScript route to activate given tab

init

an initializer extension function

Constructors

Tab
Link copied to clipboard
fun Tab(label: String? = null, child: <ERROR CLASS>, icon: String? = null, image: <ERROR CLASS>? = null, closable: Boolean = false, route: String? = null, init: Tab.() -> Unit? = null)
Tab
Link copied to clipboard
fun Tab(label: String? = null, icon: String? = null, image: <ERROR CLASS>? = null, closable: Boolean = false, route: String? = null, init: Tab.() -> Unit? = null)

Types

Companion
Link copied to clipboard
object Companion

Functions

childrenVNodes
Link copied to clipboard
open fun childrenVNodes(): Array<<ERROR CLASS>>
dispose
Link copied to clipboard
open fun dispose()
setDragDropData
Link copied to clipboard
open fun setDragDropData(format: String, data: String)

Properties

closable
Link copied to clipboard
var closable: <ERROR CLASS>

Determines if this tab is closable.

icon
Link copied to clipboard
var icon: <ERROR CLASS>

The icon of the tab.

image
Link copied to clipboard
var image: <ERROR CLASS>

The image of the tab.

label
Link copied to clipboard
var label: <ERROR CLASS>

The label of the tab.

link
Link copied to clipboard
val link: <ERROR CLASS>

A link component within the tab.

route
Link copied to clipboard
val route: String? = null