How to use pace-js - 1 common examples

To help you get started, we’ve selected a few pace-js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github onejgordon / flow-dashboard / src / js / components / Site.js View on Github external
componentWillMount() {
    pace.start({
      restartOnRequestAfter: 10 // ms
    });
    toastr.options.positionClass = "toast-bottom-left";
    toastr.options.preventDuplicates = true;
  }

pace-js

Automatically add a progress bar to your site.

MIT
Latest version published 4 years ago

Package Health Score

58 / 100
Full package analysis

Popular pace-js functions