Get new jQuery plugins just once a week

×

ToProgress

FavoriteLoadingAdd to favorites

October 24, 2015

ToProgress | A lightweight top progress bar javascript plugin

ToProgress is a javascript plugin to create a lightweight top progress bar.

Created by Randy

Download

Example

ToProgress plugin

progress bars


ToProgress

NPM version npm npm

A lightweight (2.2 KB), no-dependency top progress bar library.

Demo

http://djyde.github.io/ToProgress

Screenshot

Desktop

desktop

Mobile

mobile

Quick Start

var options = {
  color: '#EEE',
  duration: 0.2,
  height: '2px'
}
var topbar = new ToProgress(options);

Support

Use cases

If you are using ToProgress.js in production, just tell us.

API

new ToProgress(options[,selector])

.increase(progress[,callback])

.decrease(progress[,callback])

.setProgress(progress[,callback])

.reset([,callback])

.finish([,callback])

.getProgress()

return current progress (percentage number)

.show()

.hide()

License

MIT License

ToProgress

Related posts:

jsPDF
Fullcalendar
Wallpaper
ToProgress plugin

http://jquer.in/wp-content/uploads/2015/10/ToProgress.jpg

jQuery plugin

Sign up for our weekly newsletter.

* We won't spam you ever