Topic: How to force dismiss all toast itens ?

Mobtex pro asked 6 years ago


I need dismiss all toast...

Arkadiusz Idzikowski staff answered 6 years ago


Dear Mobtex, You need to use toast service clear method:
constructor(private toastrService: ToastService) {}

onClick() {

  this.toastrService.clear();

}
Regards,
Arek

Mobtex pro commented 6 years ago

Dear Arek, Very tks !


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.3
  • Device: Browser
  • Browser: All
  • OS: Mac
  • Provided sample code: No
  • Provided link: No
Tags