API Reference / @gtkx/navigation / TabViewHandle
Type Alias: TabViewHandle
TabViewHandle =
object
Defined in: packages/navigation/src/tab-view/tab-view-host.tsx:41
The native view of the surrounding tab view navigator and access to its pages.
Properties
getPage
getPage: (
key) =>Adw.TabPage|null
Defined in: packages/navigation/src/tab-view/tab-view-host.tsx:45
Returns the native page of a route, or null when it is not in this view.
Parameters
key
string
Returns
Adw.TabPage | null
transferTab
transferTab: (
key,target,position?) =>void
Defined in: packages/navigation/src/tab-view/tab-view-host.tsx:47
Moves a route's page into another view, appending to its pinned or unpinned group by default.
Parameters
key
string
target
Adw.TabView
position?
number
Returns
void
view
view:
Adw.TabView
Defined in: packages/navigation/src/tab-view/tab-view-host.tsx:43
The Adw.TabView the navigator renders into.