Automatically add a progress bar to your site. #hubspot-open-source
CSS CoffeeScript HTML
Pull request Compare This branch is 1 commit ahead, 3 commits behind HubSpot:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
templates
tests
themes
.gitignore
.hsdoc
Gruntfile.coffee
LICENSE
README.md
bower.json
install.json
pace.coffee
pace.js
pace.min.js
package.json

README.md

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>