Skip to content
Automatically add a progress bar to your site. #hubspot-open-source
Branch: master
Clone or download
Latest commit 4afddfb Oct 26, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Fixes spelling mistake Dec 22, 2016
templates Merge pull request #214 from vectart/master May 23, 2016
tests Make demo page even easier to test with Sep 5, 2014
themes Merge pull request #214 from vectart/master May 23, 2016
.gitignore Initial commit Sep 12, 2013
.hsdoc Remove unused hsdoc arg Oct 1, 2013
Gruntfile.coffee Produce theme files in 10 colors Jun 19, 2014
LICENSE
README.md Update README.md Oct 26, 2017
bower.json Lowercase the bower package name Apr 14, 2015
install.json Don't use Eager module builder Jun 1, 2016
pace.coffee
pace.js Use :: Nov 6, 2014
pace.min.js
package.json

README.md

Disclaimer, We no longer use this library internally and are focusing our efforts on open sourcing and maintaining projects that we do use and can meaningfully contribute to. Sorry for any frustrations with this project (we're happy to link to any fork that has an excited, commited maintainer).

pace

An automatic web page progress bar.

Include pace.js and a theme of your choice to your page and you are done!

We also have a Wordpress Plugin.

Pace will automatically monitor your Ajax requests, event loop lag, document ready state and elements on your page to decide on the progress.

If you use AMD or Browserify, require pace.js and call pace.start() as early in the loading process as is possible.

Demo

Documentation

Example

<head>
  <script src="/pace/pace.js"></script>
  <link href="/pace/themes/pace-theme-barber-shop.css" rel="stylesheet" />
</head>
You can’t perform that action at this time.