TabView

Top

Left

Usage

API

Props

PropTypeDefaultDescription
tabsObject{}Tab definitions: { key: "Label", ... }
defaultActiveString-Initially active tab key
tabPositionString"top""top", "bottom", "left", or "right"

Events

EventPayloadDescription
changedString (tab key)Emitted when active tab changes

Methods

MethodArgumentsDescription
open(tabKey)Programmatically switch to a tab

Slots

SlotDescription
#[tabKey]Content for each tab (named by tab key)