I know of the toastr.clear(), which clears all toasts.
However, I wanted to find out if there's any way to add a global setting, something like { clearOnNew: true } which would close any toasts before any new toast shows.
Currently I clear them manually which is fine. Was looking for a global setting.

you can setup the demo to do this and with settings
Perfect!
Most helpful comment
you can setup the demo to do this and with settings