MessageToast displays a list of feedback messages, each with a specified message-type.
Initializes the messageToast handler with the default settings.
- Delay: 8 seconds
- Showing messages: 4
- Styling: defaultInitializes a custom messageToast handler with the provided options.
Generates a dangerous message toast.
Generates an informative message toast.
Generates a success message toast.
Generates a warning message toast.
Keeps the toast persisted in the MessageToast container by making it unaffected to the defined toast-timeout. The toast can still be removed by user clicks.
Displays a generated MessageToast content with a given user-defined layout.
Displays a generated MessageToast content with a given message in the default layout.
Displays the configured message toasts.
Subscription to automatically remove the oldest toast that is still displayed.
Overwrite existing styles for the message toast container that contains all the several toasts displayed.
For example, this can be used to override the position or width of the toasts.
Overwrite existing styles for the message toast icon that's placed inside the toast container besides the message block.
For example, this can be used to override colors, spacings or sizes of the icon.
Overwrite existing styles for the message toast message block that's placed inside the toast container besides the icon.
For example, this can be used to override colors, spacings, font attributes or alignments of the toast message.
Override existing styles for the message toast that wraps the icon and message block.
For example, can be used to override border stylings, shadows or spacings between the toasts.
MessageToast holds the collection of messages.