@jsvision/ui / TabViewOptions
Interface: TabViewOptions
Defined in: ui/src/tabs/tab-view.ts:48
Constructor options for TabView.
Properties
active
readonlyactive:Signal<number>
Defined in: ui/src/tabs/tab-view.ts:52
Caller-owned active-index signal; clamped to the tab count at render time.
onChange?
readonlyoptionalonChange?: (index) =>void
Defined in: ui/src/tabs/tab-view.ts:56
Fired when the effective active index changes.
Parameters
index
number
Returns
void
onClose?
readonlyoptionalonClose?: (tab,index) =>void
Defined in: ui/src/tabs/tab-view.ts:54
Fired after a tab is removed via its × close mark.
Parameters
tab
index
number
Returns
void
tabs
Defined in: ui/src/tabs/tab-view.ts:50
Caller-owned reactive tab list.