Toasts
We provide an easy way for you to send unobtrusive alerts to your users through toasts. These toasts are also placed and sized responsively, try it out by clicking the button below on different device sizes.
To do this, use our Toast Dynamic action.
Styling your toasts
We've added the ability to customize your toasts easily. You can pass in classes as an optional parameter into the toast function.
Callback
You can have the toast callback a function when it has been dismissed.
Custom HTML
You can pass in an HTML String as well. Take a look at the example below, where we pass in text as well as a flat button. If you call an external function instead of in-line JavaScript, you will not need to escape quotation marks.