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

How to make Progress bar slowly fill up untill it reaches 100% and stay open until manually closed #165

Open feliperaul opened 7 years ago

feliperaul commented 7 years ago

I want to achieve something very simple: a 'please wait, saving' notification that has a progress bar that fills up (maybe in 5 seconds until it reaches 100%), but if it hits 100% before the ajax callback it should just stay there open, with the full progressbar, waiting to be manually closed.

As far as I understand from #155, I should get exactly this behavior if I used {showProgressbar: true, delay: 0} in conjunction; but in my tests the progressbar never increases when delay: 0, I must always set a delay so that it starts increasing, but if I do so it automatically closes when it hits 100% (which is not desired).

Any way to achieve this?