A tab element slotted into an igc-tabs container.
- Slots
-
default— Renders the tab's content. -
label— Renders the tab header's label. -
prefix— Renders the tab header's prefix. -
suffix— Renders the tab header's suffix.
- CSS Parts
tab-header— The header of a single tab.prefix— Tab header's label prefix.content— Tab header's label slot container.suffix— Tab header's label suffix.tab-body— Holds the body content of a single tab, only the body of the selected tab is visible.
Properties
Section titled "Properties"disabled
Section titled "disabled"Determines whether the tab is disabled.
disabled: boolean label
Section titled "label"The tab item label.
label: string selected
Section titled "selected"Determines whether the tab is selected.
selected: boolean