Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要像https://scttcper.github.io/ngx-toastr按钮一样关闭所有显示的 Toasts 按钮关闭所有 Toasts。
我想知道是否有办法一次关闭所有 NbToastr?
谢谢!
我已经想通了...
const toastRef: NbToastRef = this.toastrService.show(...); toastRef.close();