NProgress for Meteor
Installation
meteor add mrt:nprogress
Simply call start()
and done()
to control the progress bar.
Note that NProgress needs to access DOM, so you may want to call NProgress when DOM is ready. In other words, call it inside Meteor.startup or Template.foo.rendered function.
Meteor.startup(function(){
NProgress.start();
// Do something, like loading...
NProgress.done();
});
Official Documentation for NProgress: https://github.com/rstacruz/nprogress