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

Spinner use as progress bar #45

Closed Dgiffone closed 11 years ago

Dgiffone commented 11 years ago

Hi, I would like to know if there is a simple way to leverage spinner included in future message to display a progress completion message.

Thank you very much

zackbloom commented 11 years ago

The spinner is currently implemented as a CSS animation, making it difficult to control from javascript. You could use classes (or .css calls) to set the spinner at a specific completion amount to signify progress, and use a css transition to animate it between the 'steps'.