Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Remove alerts when navigating to another page

jimsgroup pro asked 7 years ago


How can I remove an alert when I navigate to another page? I only want the alert to be visible on the one page and if the user goes to another page, it is removed.

Dawid Adach pro answered 7 years ago


You can call:
this.toastrService.clear();
to remove all toasts manually while switching navigation.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

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