ngSweetAlert icon indicating copy to clipboard operation
ngSweetAlert copied to clipboard

Close Explicitly

Open warapitiya opened this issue 10 years ago • 3 comments

is there a way to close an alert explicitly?

Sample:

SweetAleart.close();

warapitiya avatar Jun 08 '15 05:06 warapitiya

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

ricardogomes avatar Jul 17 '15 08:07 ricardogomes

if I click swal.close() it says swal.close is not a function... any idea?

maeishoj avatar Nov 09 '16 07:11 maeishoj

Is there any workaround?

rgiosa avatar May 23 '17 21:05 rgiosa