Toast
A short report on what the user just did.
Installation
Default
toast(title): neutral news.
Success
Error
With a description: why, or what next.
Warning
Info
Loading
Spins and stays open until its id is updated to success or error.
Promise
toast.promise: loading, then success or error in place.
With action
One action at most; with an action it stays open (timeout: 0).
Stack
The newest in front, at most three shown. Hover expands the stack.
Dedupe
The same toast again updates the open one and replays a pulse (a shake for errors). Click twice.