ngSweetAlert
ngSweetAlert copied to clipboard
Close Explicitly
is there a way to close an alert explicitly?
Sample:
SweetAleart.close();
Since the close action does not influence the Angular environment you can call swal.close(); directly.
If I have the time I'll do a PR with this method to
if I click swal.close() it says swal.close is not a function... any idea?
Is there any workaround?