Toast notifications
Toast notifications.
A <toast> shows over everything else in a corner of the screen, and closes itself after duration milliseconds, or when clicked. Its open attribute is two-way bound: the application raises its flag to show it, and the flag falls back to false when the toast closes.
A toast slides in from its side of the screen and back out when it closes. The error toast replaces both animations with its own: it shakes as it arrives, and fades out.
Try it: press Save or Fail, then wait, or click a toast to dismiss it.
- Source file:
example/toast.cpp - Standalone terminal: ⛶ Open Fullscreen
- Guide: Relevant Documentation
- ← Back to Examples Index

