HubSpot / messenger

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

Cannot bind in time to the initial show event. #81

Open ardoramor opened 10 years ago

ardoramor commented 10 years ago

This is similar to issue #37 but regarding the show event. After the message is posted, it is already shown. As such, the following code will never process the initial show:

Messenger()
    .post('This is a great plugin!')
    .on('show', function(e) {alert('Message is shown.')});