mouse0270 / bootstrap-notify

Turns standard Bootstrap alerts into "Growl-like" notifications.
http://bootstrap-notify.remabledesigns.com/
MIT License
2.25k stars 641 forks source link

Programmatically close a notify #160

Closed flightsurvey closed 7 years ago

flightsurvey commented 7 years ago

As the documentation website is down could anyone tell me if it is possible to programmatically close a notify that has been initiated with "delay: 0"?

The system we are using it in signs out after five minutes of inactivity and it's just possible that the user may have left a notify open.

gs2810 commented 7 years ago

From the documentation:

Close var notify = $.notify('...'); notify.close();

Disclaimer: Not a developer/maintainer, just a fan :)

mouse0270 commented 7 years ago

@gs2810 perfect answer. I am working on getting to doc site back up. Sorry I am releasing a new CMS for my clients and I forgot that this was on the same sever. I am working really hard to get everything back up and running today.

flightsurvey commented 7 years ago

Many thanks

mouse0270 commented 7 years ago

If this resolves your problem, please remember to return and close this issue.