meteor-nprogress icon indicating copy to clipboard operation
meteor-nprogress copied to clipboard

NProgress for Meteor

meteor-nprogress Build Status

NProgress for Meteor

Installation

meteor add mrt:nprogress

Basic usage

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();
});

More

Official Documentation for NProgress: https://github.com/rstacruz/nprogress

Demo: http://ricostacruz.com/nprogress/