API Reference / @gtkx/navigation / TabViewNavigationOptions
Type Alias: TabViewNavigationOptions
TabViewNavigationOptions =
HeaderOptions&object
Defined in: packages/navigation/src/tab-view/types.ts:103
Per-screen options of the tab view navigator.
Type Declaration
header?
optionalheader?: (props) =>ReactNode
Renders a custom top bar instead of the default AdwHeaderBar.
Parameters
props
Returns
ReactNode
icon?
optionalicon?:TabViewIcon|null
Icon shown in the tab; null shows the view's default icon.
indicatorActivatable?
optionalindicatorActivatable?:boolean
Whether clicking the indicator emits indicatorActivated.
indicatorIcon?
optionalindicatorIcon?:TabViewIcon|null
Indicator icon shown at the end of the tab.
indicatorTooltip?
optionalindicatorTooltip?:string
Tooltip of the indicator icon; supports Pango markup.
keyword?
optionalkeyword?:string
Search keyword for the tab overview.
lazy?
optionallazy?:boolean
Whether the screen mounts on first selection instead of as soon as the tab opens; defaults to true.
liveThumbnail?
optionalliveThumbnail?:boolean
Whether the overview thumbnail stays live while the tab is not selected.
loading?
optionalloading?:boolean
Whether the tab shows a loading spinner instead of its icon.
needsAttention?
optionalneedsAttention?:boolean
Whether the tab is highlighted as needing attention.
thumbnailXalign?
optionalthumbnailXalign?:number
Horizontal alignment of the overview thumbnail, from 0 to 1.
thumbnailYalign?
optionalthumbnailYalign?:number
Vertical alignment of the overview thumbnail, from 0 to 1.
tooltip?
optionaltooltip?:string
Tooltip of the tab; supports Pango markup.