TabView
Top
Fruit
Veggies
Meat
Drinks
Left
Fruit
Veggies
Meat
Drinks
Usage
API
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| tabs | Object | {} | Tab definitions: { key: "Label", ... } |
| defaultActive | String | - | Initially active tab key |
| tabPosition | String | "top" | "top", "bottom", "left", or "right" |
Events
| Event | Payload | Description |
|---|---|---|
| changed | String (tab key) | Emitted when active tab changes |
Methods
| Method | Arguments | Description |
|---|---|---|
| open | (tabKey) | Programmatically switch to a tab |
Slots
| Slot | Description |
|---|---|
| #[tabKey] | Content for each tab (named by tab key) |
