JSPM

@lgaitan/pace-progress

1.0.7
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18547
  • Score
    100M100P100Q166059F
  • License MIT

Automatic page load progress bar

Package Exports

  • @lgaitan/pace-progress

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@lgaitan/pace-progress) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

pace

This project is being refactored, meanwhile i've uploaded a minor fix for javascript imports.

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>