@jsvision/ui / Tab
Interface: Tab
Defined in: ui/src/tabs/tab-view.ts:36
A single tab descriptor. title carries optional ~X~ hotkey markup (e.g. '~G~eneral' marks Alt+G).
Properties
closeable?
readonlyoptionalcloseable?:boolean
Defined in: ui/src/tabs/tab-view.ts:44
When true, the label draws a ×; clicking it removes the tab and fires onClose.
content
readonlycontent:Group
Defined in: ui/src/tabs/tab-view.ts:40
The page shown when this tab is active. Built up-front and kept mounted while other tabs show.
disabled?
readonlyoptionaldisabled?:boolean
Defined in: ui/src/tabs/tab-view.ts:42
When true, the tab is drawn greyed, cannot be activated, and is skipped by cycling/hotkeys.
title
readonlytitle:string
Defined in: ui/src/tabs/tab-view.ts:38
Tab label; wrap the hotkey letter in tildes (~X~) to mark the Alt-hotkey. Sanitized on draw.