root 7aa2303043 first commit 1 年之前
..
themes 7aa2303043 first commit 1 年之前
.bower.json 7aa2303043 first commit 1 年之前
LICENSE 7aa2303043 first commit 1 年之前
README.md 7aa2303043 first commit 1 年之前
bower.json 7aa2303043 first commit 1 年之前
install.json 7aa2303043 first commit 1 年之前
pace.coffee 7aa2303043 first commit 1 年之前
pace.js 7aa2303043 first commit 1 年之前
pace.min.js 7aa2303043 first commit 1 年之前

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>