I can use custom values for showing a toastr
. Also, checked-out this question's answers. Toastr JS Setting fadeAway value
But, my question is that is there any way i can override toastr
's default options once which will be applicable to my whole project.
for example, I want "timeOut": "2500"
to be set for my whole project only mentioning it only once, instead of default "timeOut": "5000"
.