safesite/static/groups/bower_components/PACE
shilixia 3b62851061 groups1 2019-09-18 15:51:18 +08:00
..
themes groups1 2019-09-18 15:51:18 +08:00
LICENSE groups1 2019-09-18 15:51:18 +08:00
README.md groups1 2019-09-18 15:51:18 +08:00
bower.json groups1 2019-09-18 15:51:18 +08:00
install.json groups1 2019-09-18 15:51:18 +08:00
pace.coffee groups1 2019-09-18 15:51:18 +08:00
pace.js groups1 2019-09-18 15:51:18 +08:00
pace.min.js groups1 2019-09-18 15:51:18 +08:00

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!

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>