HubSpot / messenger

Growl-style alerts and messages for your app. #hubspot-open-source
http://github.hubspot.com/messenger/
MIT License
4.03k stars 408 forks source link

Disallow message from disappearing until close button clicked #91

Closed gladwinput closed 9 years ago

gladwinput commented 9 years ago

Love this code. But what if I don't want it to disappear eventually? Say I am using it for a tutorial but I don't want it to go away until I tell it to with a prompt (user clicks something I ask them to etc). How do I force it to stay open?

TrevorBurnham commented 9 years ago

Use the option

hideAfter: 0
gladwinput commented 9 years ago

Quality, thank you! I recommend putting that into the documentation (hadn't thought of it admittedly - though I notice hideAfter is there.)