Skip to main content

Type Alias: AdwViewStackProps

AdwViewStackProps = WidgetProps & object

Defined in: generated/jsx.ts:11220

Props for the AdwViewStack widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:11257
enableTransitions?booleanWhether the stack uses a crossfade transition between pages. Use AdwViewStack.transition-duration to control the duration, and AdwViewStack.transition-running to know when the transition is running.generated/jsx.ts:11228
hhomogeneous?booleanWhether the stack is horizontally homogeneous. If the stack is horizontally homogeneous, it allocates the same width for all children. If it's FALSE, the stack may change width when a different child becomes visible.generated/jsx.ts:11238
onNotify?(self, propName) => void | nullCalled 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:11263
page?string | nullID of the visible page in the stack.generated/jsx.ts:11256
ref?Ref<Adw.ViewStack>-generated/jsx.ts:11275
transitionDuration?numberThe transition animation duration, in milliseconds. Only used when AdwViewStack.enable-transitions is set to TRUE.generated/jsx.ts:11244
vhomogeneous?booleanWhether the stack is vertically homogeneous. If the stack is vertically homogeneous, it allocates the same height for all children. If it's FALSE, the stack may change height when a different child becomes visible.generated/jsx.ts:11254