Skip to main content

Type Alias: AdwViewSwitcherTitleProps

AdwViewSwitcherTitleProps = WidgetProps & object

Defined in: generated/jsx.ts:9195

Props for the AdwViewSwitcherTitle widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:9222
ref?Ref<Adw.ViewSwitcherTitle>-generated/jsx.ts:9223
stack?Adw.ViewStack | nullThe stack the view switcher controls.generated/jsx.ts:9197
subtitle?stringThe subtitle to display. The subtitle should give the user additional details.generated/jsx.ts:9203
title?stringThe title to display. The title typically identifies the current view or content item, and generally does not use the application name.generated/jsx.ts:9210
viewSwitcherEnabled?booleanWhether the view switcher is enabled. If it is disabled, the title will be displayed instead. This allows to programmatically hide the view switcher even if it fits in the available space. This can be used e.g. to ensure the view switcher is hidden below a certain window width, or any other constraint you find suitable.generated/jsx.ts:9221