I am trying to use sweet alert and toastr in the angular example. However, I do not understand how to toggle a toastr or a sweet alert in a component. Can anybody help me by showing and example?
Thanks in advance
Unfortunately, we don't support the Sweet alert plugin in our Angular application.
Maybe these threads will help you https://www.thecodehubs.com/sweet-alerts-in-angular/
Or you can use Angular adapted 3 party library like this https://github.com/sweetalert2/ngx-sweetalert2