Progress
Circular progress indicator using canvas.
Installation
$ npm install progress-component
Example
var Progress = ; var progress = ;documentbody; var n = 0;var id = ;
API
Progress#update(n)
Update the indicator to n
and re-draw.
Progress#font(family)
Change the font to family
.
Progress#fontSize(n)
Change the font size to n
.
Progress#size(n)
Change the indicator diameter to n
, defaults to 50.
License
MIT