progressbardottop
v0.1.4
Published
Progress. A tool for keeping track of time.
Downloads
4
Readme
progress
Progress bar component, great for holding the user's attention
Install
npm install --save progressbardottop
import ProgressBar from 'progressbardottop'
let bar = new ProgressBar({
selector: "#progressbar",
hideOnComplete: true,
})
bar.start( 100000 ) // optional timeout parameter will increment progress until the timeout is reached
bar.update( 0.5 ) // update manually
bar.configure({ hidden: true })