Closed gsaini closed 10 years ago
There is currently no option to remove it manually, you can click on the close button or make it auto fade out.
I think it would be great to have a method to clear all growl instances on the screen. Take the case of a form, you can display errors when the user submit the form, but if the user doesn't close the growl messages, we have no other choice than put a TTL on them, even if we don't want to.
Could you tag and compile a new version with @chasemgray PR ?
Should be able to close this now.
Which method can be used to destroy the growl message programmatically ?? Can you please add it on docs as well?
var message = growl.info("This adds a info message", {title: 'Random Information'}); message.destroy();
Thanks kdekooter :)
How can I remove the growl message manually?