Type Alias: AdwViewStackProps
AdwViewStackProps =
WidgetProps&object
Defined in: generated/jsx.ts:9134
Props for the AdwViewStack widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:9173 |
enableTransitions? | boolean | Whether 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:9142 |
hhomogeneous? | boolean | Whether 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:9152 |
onPageChanged? | (page, self) => void | null | Called when the visible page changes, either programmatically or via a ViewSwitcher/StackSwitcher. | generated/jsx.ts:9172 |
page? | string | null | ID of the visible page in the stack. | generated/jsx.ts:9170 |
ref? | Ref<Adw.ViewStack> | - | generated/jsx.ts:9174 |
transitionDuration? | number | The transition animation duration, in milliseconds. Only used when AdwViewStack.enable-transitions is set to TRUE. | generated/jsx.ts:9158 |
vhomogeneous? | boolean | Whether 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:9168 |