Skip to content

clu-sh/pace-esm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pace-esm, an updated version of pace.js which works as an es module.

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.

Direct Reference Example

<head>
  <script src="./pace-esm/pace.js"></script>
  <link href="./pace-esm/themes/pace-theme-barber-shop.css" rel="stylesheet" />
</head>

Use with React/Vue/Angular

import Pace from 'pace-esm/pace.js';

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published