Documentation
¶
Overview ¶
Package toast renders transient bottom-right status chips that auto-expire. Multiple toasts stack; errors linger longer; long text wraps rather than being truncated.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model holds a stack of active toasts (newest at the bottom).
func (*Model) Push ¶
Push adds a toast and returns the command that expires it. Errors dwell longer than info/success so a failure can be read, but every toast eventually auto-expires so none linger on screen indefinitely. When the stack is full the oldest toast drops off.
Click to show internal directories.
Click to hide internal directories.