NathanWalker / nativescript-fancyalert

Fancy alerts for NativeScript.
Other
147 stars 38 forks source link

Closing with programming #42

Open nihaterdil opened 6 years ago

nihaterdil commented 6 years ago

Hello;

You guys did a great job. We can not close ourselves on the program side.

elonmallin commented 5 years ago

I can not find this option either. Closing an alert window imperatively.

TNSFancyAlert.closeAll() would be great. I have a screensaver starting after a set time and if a popup is open it will be over the screensaver.

elonmallin commented 5 years ago

This seems to be a duplicate of #22. But could be great with a TNSFancyAlert.closeAll() to just close all open ones. Even better would be a way to close a specific one but would mean a little bit more of a change to the api I guess.