setIsOpen(false)}>
* Flyout body content.
*
* setIsOpen(false)}>Save
*
*
*
* @slot default — Scrollable body content of the flyout.
* @slot header — Extra content in the header row, inserted after the heading text.
* @slot footer — Sticky footer content (e.g. action buttons). Auto-hides when empty.
*/
export declare class DiwaFlyout {
private panelEl?;
private savedFocusEl;
/** Per-component theme override (`light` / `dark`). */
theme: Theme;
/**
* Whether the flyout is currently open.
*
* Controlled prop — the consumer must set this to `false` in response to
* the `dismiss` event (backdrop click, Escape key, or dismiss button).
*/
open: boolean;
/** Which edge of the viewport the panel slides in from (`start` = left, `end` = right). */
position: FlyoutPosition;
/**
* Controls the visual style of the backdrop overlay.
* `blur` — frosted glass (default; use when opened by user interaction).
* `shading` — solid dark scrim (use for system-triggered flyouts).
*/
backdrop: FlyoutBackdrop;
/** Heading text displayed in the flyout header. */
heading: string;
/**
* Emitted when the user requests the flyout to close (backdrop click,
* Escape key press, or dismiss button click).
*
* The consumer must set `open={false}` in response:
* ```html
*