Skip to content

Progress bars

Choose a tag to compare

@poteto poteto released this 15 Mar 11:25
· 377 commits to master since this release

You can now add a progress bar to flash messages. The progress bar has a transition-duration CSS style property set to its element, with the duration being the flash message's timeout value. Essentially this will animate the progress bar smoothly until the timeout elapses.

To use:

Ember.get(this, 'flashes').success('Great success', { showProgress: true });
Changelog
  • Added ability to add progress bar to flash message
  • Simplified bundled style
  • Reduced test defaultTimeout to speed up tests
  • Updated missing contexts in component block helper
  • Included iojs to .travis.yml
  • Reduced some test complexity and duplication