Type Alias: AdwNavigationPageProps
AdwNavigationPageProps =
WidgetProps&object
Defined in: generated/jsx.ts:6613
Props for the AdwNavigationPage widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
canPop? | boolean | Whether 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:6626 |
children? | ReactNode | - | generated/jsx.ts:6679 |
onHidden()? | (self) => void | null | Emitted 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:6654 |
onHiding()? | (self) => void | null | Emitted 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:6662 |
onNotify? | (self, propName) => void | null | Called when any property on this widget changes. Param The widget that emitted the notification Param The name of the property that changed (in kebab-case) | generated/jsx.ts:6685 |
onShowing()? | (self) => void | null | Emitted 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:6670 |
onShown()? | (self) => void | null | Emitted 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:6678 |
ref? | Ref<Adw.NavigationPage> | - | generated/jsx.ts:6686 |
tag? | string | null | The 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:6639 |
title | string | The 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:6646 |