angular-growl-2
angular-growl-2 copied to clipboard
Question about setting message.close on TTL -1 growls
Why are we not setting the message.close if we create a growl that has a TTL of -1?
If we close a growl with that setting, then message.close gets set to true. Creating a growl with a TTL of -1 has no message.close set. Creating a growl normally gets message.close set to false.
i'm using message.destroy() to dismiss the message
i.e:
notif = growl.info("Downloading files", {ttl: -1});
after callback of download
notif.destroy();