A Meteor package that automatically shows a NProgress.js progress bar during DDP data exchange.
(In plain words, it automatically adds a slick-looking, unintrusive progress bar and a spinner at the top of your web app for any loading activities in your Meteor app.)
Tested on Meteor 1.0.0.
Run the following Meteorite command:
meteor add settinghead:auto-nprogress
And you are done!
Now all your Meteor applications will automatically display an NProgress bar whenever a DDP subscription takes place.
If you do not wish to show NProgress for specific subscription events, change your Meteor subsciption code from
Meteor.subscribe(...)
into
Meteor.withoutBar.subscribe(...)
If you wish to change the apprearance of the progress bar (e.g. color, width, etc.) , create your custom CSS classes that overrides the default, and include your CSS file in your project. See NProgress doc here.
Email me: settinghead@gmail.com
Issues submissions and pull requests are welcome.