eh-progress-bar
v0.0.3
Published
Build a progress bar
Downloads
2
Readme
eh-progress-bar
Build a progress bar.
Install
bower install eh-progress-bar
Install node modules
npm install
Support
- IE7+
- chrome
- firefox
Usage
var progressbar = progressFactory.render( document.body,[
true,true,true,true,false,false,false,true,true,false,
true,true,true,true,false,false,false,true,true,true,
true,true,true,true,false,false,false,true,true,false,
false,false,false,false,false,false,false,true,true,true,
true,false,true,false,false,false,false,true,true,true
],{
partialNumber:5
});
API
progressFactory.create( dom, data, opts ):ProgressBar
Create a progress bar.
ProgressBar.render( data, opts ) : void
Render a progress bar.
ProgressBar.destroy() : void
Destroy a structures.
DEMO
gulp server
Build
gulp