Skip to main content

Interface: Tab

Defined in: workingtitle-instruments-epic2/shared/Components/Tabs/TabTypes.ts:4

Data for a tab in a tabbed container.

Extends

Properties

isDisabled?

optional isDisabled: boolean | Subscribable<boolean>

Defined in: workingtitle-instruments-epic2/shared/Components/Tabs/TabTypes.ts:16

Whether this tab is disabled on the menu; defaults to false.

Inherited from

TabMenuItem.isDisabled


isHidden?

optional isHidden: boolean | Subscribable<boolean>

Defined in: workingtitle-instruments-epic2/shared/Components/Tabs/TabTypes.ts:18

Whether this tab is hidden in the menu; defaults to false.

Inherited from

TabMenuItem.isHidden


name?

readonly optional name: string

Defined in: workingtitle-instruments-epic2/shared/Components/Tabs/TabTypes.ts:14

The name of this tab.

Inherited from

TabMenuItem.name


renderContent()

readonly renderContent: () => VNode

Defined in: workingtitle-instruments-epic2/shared/Components/Tabs/TabTypes.ts:6

Function to render a tab's content, should extend TabContent.

Returns

VNode


renderLabel()

readonly renderLabel: () => string | VNode

Defined in: workingtitle-instruments-epic2/shared/Components/Tabs/TabTypes.ts:12

Function to render a tab label.

Returns

string | VNode

Inherited from

TabMenuItem.renderLabel