NProgress for Meteor
JavaScript
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
.gitmodules
.travis.yml
.versions
README.md
package.js
smart.json
test-mrt:nprogress.js
versions.json

README.md

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/