UNPKG

pace-progressbar

Version:

Automatic page load progress bar

30 lines (20 loc) 722 B
pace ==== An automatic web page progress bar. Include [pace.js](https://raw.github.com/HubSpot/pace/v1.0.2/pace.min.js) and a [theme](http://github.hubspot.com/pace/docs/welcome/) 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. ### Installation ```html npm i pace-progressbar ``` or ```html yarn add pace-progressbar ``` ### [Demo](http://github.hubspot.com/pace/docs/welcome/) ### [Documentation](http://github.hubspot.com/pace/) ### Example ```html import 'pace-progressbar'; import 'pace-progressbar/themes/blue/pace-theme-minimal.css'; ```