jiro-ui
Version:
A Mithril.js UI library based from construct-ui
18 lines (12 loc) • 509 B
Markdown
# Toast
A toast notifies the user of an action in response to app events.
## Declarative usage
A toaster can be used declaratively by passing an array of `Toast` items to the `toasts` attribute. Note: the `onDimiss` callback must be provided and correctly handled in order to "dismiss" a toast.
## Toaster Attrs
## Toaster static methods (imperative mode)
## Toast Attrs