A tab button used within m-tab-list for switching between tab panels.
Basic Usage
Code
<m-tab-list label="Example">
<m-tab panel="tab1">Tab 1</m-tab>
<m-tab panel="tab2">Tab 2</m-tab>
<m-tab-panel name="tab1">Panel 1 content</m-tab-panel>
<m-tab-panel name="tab2">Panel 2 content</m-tab-panel>
</m-tab-list> - panel string —
- ID of the associated tab panel to control
- active boolean false
- Whether this tab is currently active
- disabled boolean false
- Whether this tab is disabled and cannot be selected
- adoptedStyleSheets array [baseStyleSheet]
- render void
- (default)
- Default slot for tab label content