I have notifications popping up in my application, I want when new notification es, the old one to hide (I don't want two notifications to show at the same time).
How to get that effect with toastr?
I have notifications popping up in my application, I want when new notification es, the old one to hide (I don't want two notifications to show at the same time).
How to get that effect with toastr?
Share Improve this question edited Dec 7, 2016 at 9:48 gonsalu 3,1942 gold badges19 silver badges19 bronze badges asked Dec 6, 2016 at 18:24 V.DimitrovV.Dimitrov 1091 silver badge5 bronze badges1 Answer
Reset to default 8You could use the clear
function :
toastr.clear();
Hope this will helps you.
Source : officiel documentation.