Releases: srcrip/live_toast
Releases · srcrip/live_toast
Release list
LiveToast v0.9.0
Highlights
- Add a browser JavaScript API:
addToast/3requests server-rendered toasts from frontend code. - Add programmatic dismissal with
LiveToast.dismiss_toast/2and the composableLiveToast.dismiss/1action for custom components. - Pause timed toasts while hovered or focused, then resume with their remaining duration.
- Support persistent toasts with
duration: 0or:infinity. - Add
:top_centerand:bottom_centerhost positions. - Allow a default custom toast component function on
toast_group, with per-toast overrides. - Pass application metadata through to custom toast components.
- Make connection-state notices customizable, replaceable through slots, or fully disableable.
- Add recipes and documentation for the new APIs and customization paths.