AdwToastOverlay
A container that displays toast notifications.
Preview
CSS Node Tree
toastoverlay
├── [child]
└── toastProps
Prop
Type
Behavior
- Use a
toastRefto calladdToast()anddismissAll()imperatively. - Toasts auto-dismiss after a configurable timeout (default 5s), paused while a toast is hovered, focused or pressed.
- Adding the toast that's shown again restarts its timeout; adding a queued one moves it to the front.
- High-priority toasts interrupt the current toast.
- Escape dismisses the shown toast.