monmon a721dfe38c navbar fix | 5 years ago | |
---|---|---|
.. | ||
themes | 5 years ago | |
.bower.json | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
bower.json | 5 years ago | |
install.json | 5 years ago | |
pace.coffee | 5 years ago | |
pace.js | 5 years ago | |
pace.min.js | 5 years ago |
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.
<head>
<script src="/pace/pace.js"></script>
<link href="/pace/themes/pace-theme-barber-shop.css" rel="stylesheet" />
</head>