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.

Properties​

isDisabled?​

optional isDisabled: boolean | Subscribable<boolean>

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

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


isHidden?​

optional isHidden: boolean | Subscribable<boolean>

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

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


name?​

readonly optional name: string

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

The name of this tab.


renderContent()​

readonly renderContent: () => VNode

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

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:6

Function to render a tab label.

Returns​

string | VNode