By default, the toastr will show up at top right corner of the page view, and will automatically dismiss in 3 seconds. You can configure the toasts using ToastOptions class.
Immediately removes current toasts without using animation.
Remove current toasts using animation.
You can use options like showDuration, timeout for your toasts. To create a sticky toast, set the timeout to 0.