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.
Duration & Timeout
You can use options like
timeout for your toasts. To create a sticky toast, set the
Show / Hide Animation
Use the jQuery
show/hide method of your choice. These default to
fadeIn/fadeOut. The methods
show/hide are built into jQuery.