Accurate Page Loading Indicator – realprogress.js

Category: Javascript , Loading | June 17, 2017
Author:hdodov
Views Total:1,365 views
Official Page:Go to website
Last Update:June 17, 2017
License:MIT

Preview:

Accurate Page Loading Indicator – realprogress.js

Description:

The realprogress.js JavaScript library displays a progress bar to indicate the accurate loading progress of your content-rich website.

Install the realprogress via NPM:

npm install realprogress

Basic usage:

Load the minified version of the realprogress.js in the html document.

<script src="js/realprogress.min.js"></script>

API.

RealProgress.onResourceLoad = function () {
  // on loaded
};
RealProgress.onProgress = function () {
  // on progress
};
RealProgress.onLoad = function () {
  // on load
};

You Might Be Interested In:


Leave a Reply