mouse0270 / bootstrap-notify

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

update method api #71

Closed layanto closed 9 years ago

layanto commented 9 years ago

From the documentation, api for update method is only modifying one parameter at a time eg notify.update("title", "new title"); To modify/update multiple parameters, we need to call update method multiple times. Can I propose update api similar to the $.notify() api where multiple parameters can be modified at the same time? Eg notify.update ({ icon: "fa fa-warning", title: "new title", message: "new message" });

mouse0270 commented 9 years ago

I can look into this over the weekend. Off the top of my head I have an idea that might work, but wont know until I try it.

mouse0270 commented 9 years ago

This has been included in version 3.0.1+