API Reference / @gtkx/navigation / TabViewOpenOptions
Type Alias: TabViewOpenOptions
TabViewOpenOptions =
object
Defined in: packages/navigation/src/tab-view/types.ts:28
Options accepted when opening a tab.
Properties
parent?
optionalparent?:string
Defined in: packages/navigation/src/tab-view/types.ts:30
Key of the tab the new one is opened from; the new tab follows that tab and its descendants, which are selected again when it closes.
position?
optionalposition?:number
Defined in: packages/navigation/src/tab-view/types.ts:34
Position among the unpinned tabs; defaults to the end.
select?
optionalselect?:boolean
Defined in: packages/navigation/src/tab-view/types.ts:32
Whether the new tab is selected; defaults to true.