Skip to content

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? ​

optional parent?: 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? ​

optional position?: number

Defined in: packages/navigation/src/tab-view/types.ts:34

Position among the unpinned tabs; defaults to the end.


select? ​

optional select?: boolean

Defined in: packages/navigation/src/tab-view/types.ts:32

Whether the new tab is selected; defaults to true.