Skip to main content

Type Alias: AdwNavigationPageProps

AdwNavigationPageProps = WidgetProps & object

Defined in: generated/jsx.ts:5332

Props for the AdwNavigationPage widget.

Type Declaration

NameTypeDescriptionDefined in
canPop?booleanWhether the page can be popped from navigation stack. Set it to FALSE to disable shortcuts and gestures, as well as remove the back button from AdwHeaderBar. Manually calling NavigationViewpop or using the navigation.pop action will still work. See AdwHeaderBar.show-back-button for removing only the back button, but not shortcuts.generated/jsx.ts:5345
children?ReactNode-generated/jsx.ts:5398
onHidden?(self) => void | nullEmitted when the navigation view transition has been completed and the page is fully hidden. It will always be preceded by AdwNavigationPage.:hiding or AdwNavigationPage.:showing.generated/jsx.ts:5373
onHiding?(self) => void | nullEmitted when the page starts hiding at the beginning of the navigation view transition. It will always be followed by AdwNavigationPage.:hidden or AdwNavigationPage.:shown.generated/jsx.ts:5381
onShowing?(self) => void | nullEmitted when the page shows at the beginning of the navigation view transition. It will always be followed by AdwNavigationPage.:shown or AdwNavigationPage.:hidden.generated/jsx.ts:5389
onShown?(self) => void | nullEmitted when the navigation view transition has been completed and the page is fully shown. It will always be preceded by AdwNavigationPage.:showing or AdwNavigationPage.:hiding.generated/jsx.ts:5397
ref?Ref<Adw.NavigationPage>-generated/jsx.ts:5399
tag?string | nullThe page tag. The tag can be used to retrieve the page with NavigationViewfind_page, as well as with NavigationViewpush_by_tag, NavigationViewpop_to_tag or NavigationViewreplace_with_tags. Tags must be unique within each AdwNavigationView. The tag also must be set to use the navigation.push action.generated/jsx.ts:5358
titlestringThe page title. It's displayed in AdwHeaderBar instead of the window title, and used as the tooltip on the next page's back button, as well as by screen reader.generated/jsx.ts:5365