Skip to content

hosein2398/progress-scroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Progress-scroll

This library helps you get nice navbar on your screen to tell user how much of an article has been read by them.

Demo

You can see a demo of this here.

Usage

Load the script on your page and then:

ProgressScroll({
    element: ".test",
    color: "black",
    height: "8px",
    beforeRun: function () {
      // do something
    },
    onRuning: function () {
      //do something
    },
    onCompelete: function () {
      //do something
    }
});

This example was full-optioned one so you saw all available options to call ProgressScroll .

About

Progress bar for detecting how long your page has been scrolled

Resources

License

Stars

Watchers

Forks

Packages

No packages published