API Reference / @gtkx/navigation / TabViewRouterOptions
Type Alias: TabViewRouterOptions
TabViewRouterOptions =
object
Defined in: packages/navigation/src/tab-view/types.ts:198
Options of the tab view router.
Properties
initialRouteName?
optionalinitialRouteName?:string
Defined in: packages/navigation/src/tab-view/types.ts:200
Screen of the tab opened when the view starts empty; defaults to the first screen.
replaceLastTab?
optionalreplaceLastTab?:boolean
Defined in: packages/navigation/src/tab-view/types.ts:206
Whether closing the last tab replaces it with a new tab of the initial route, instead of leaving that close unhandled for a parent navigator or the container's onUnhandledAction. Use it for a tab view inside a section of the app rather than a window of its own; defaults to false.