Skip to content

zhouzhuojie/meteor-nprogress

Repository files navigation

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/

About

NProgress for Meteor

Resources

Stars

Watchers

Forks

Packages

No packages published