toaster/toast_data
library
Classes
-
Toast
-
a data object for passing info into the toaster. the Toast is identified by id,
which defaults to a random string, but may be set if the toast requires an ID that must be reused or memorized.
type is a ToastType that tells the toaster how to style certain aspects of the toast; for instance, the
icon on the toast. see ToastType for more details.
-
ToastAction
-
an action for the toast. May be omitted if the toast has no action, and is only for
informational purposes.