API Reference / @gtkx/navigation / SplitViewNavigationConfig
Type Alias: SplitViewNavigationConfig
SplitViewNavigationConfig =
object
Defined in: packages/navigation/src/split-view/types.ts:61
Props of the split view navigator beyond the options every navigator shares.
Properties
collapsed?
optionalcollapsed?:boolean
Defined in: packages/navigation/src/split-view/types.ts:63
Whether the panes stack into one instead of sitting side by side; defaults to false.
contentPlaceholder?
optionalcontentPlaceholder?:ReactNode
Defined in: packages/navigation/src/split-view/types.ts:65
Fills the content pane while no content route is open; defaults to nothing.
maxSidebarWidth?
optionalmaxSidebarWidth?:number
Defined in: packages/navigation/src/split-view/types.ts:71
Maximum sidebar width, in the unit libadwaita uses for the split view.
minSidebarWidth?
optionalminSidebarWidth?:number
Defined in: packages/navigation/src/split-view/types.ts:69
Minimum sidebar width, in the unit libadwaita uses for the split view.
popOnEscape?
optionalpopOnEscape?:boolean
Defined in: packages/navigation/src/split-view/types.ts:75
Whether pressing Escape pops the visible content page; defaults to true.
sidebarPosition?
optionalsidebarPosition?:"start"|"end"
Defined in: packages/navigation/src/split-view/types.ts:67
Which side the sidebar sits on; defaults to "start".
sidebarWidthFraction?
optionalsidebarWidthFraction?:number
Defined in: packages/navigation/src/split-view/types.ts:73
Preferred sidebar width as a fraction of the total width.