admin管理员组文章数量:1336281
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.
本文标签: javascriptHow to hide notification when new one comes up with toastrStack Overflow
版权声明:本文标题:javascript - How to hide notification when new one comes up with toastr - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742394684a2466682.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论