Crate seigi_toast

Crate seigi_toast 

Source
Expand description

Ready-to-use global toasts with predefined styles

Structs§

Toast
ToastBuilder
ToastHandle
Toaster
ToasterOptions

Enums§

DismissReason
The reason a toast is dismissed
ToastEvent
ToastTimeout

Functions§

create_toast
Add toast to global state
dismiss_toast
Dismiss a toast of handle with given reason from global toast state
initialize
Initialize styles and global
initialize_global
Initialize global state and renderer
initialize_styles
Add default stylesheet to document head