旧版报表、仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
宁玉琪 9082427b43 期初上传 2 years ago
..
themes 期初上传 2 years ago
.bower.json 期初上传 2 years ago
LICENSE 期初上传 2 years ago
README.md 期初上传 2 years ago
bower.json 期初上传 2 years ago
install.json 期初上传 2 years ago
pace.coffee 期初上传 2 years ago
pace.js 期初上传 2 years ago
pace.min.js 期初上传 2 years ago

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>