Flexible spinner using Canvas
Pull request Compare This branch is 1 commit behind godmodelabs:master.
Latest commit d4c81b6 Nov 2, 2012 @juliangruber juliangruber better description
Permalink
Failed to load latest commit information.
test release 0.0.1 Nov 1, 2012
.gitignore refactor for new component(1) Aug 12, 2012
.npmignore Initial commit Aug 10, 2012
History.md Release 0.0.4 Oct 5, 2012
Makefile refactor for new component(1) Aug 12, 2012
Readme.md better description Nov 1, 2012
component.json better description Nov 1, 2012
index.js release 0.0.1 Nov 1, 2012
package.json better description Nov 1, 2012

Readme.md

Spinner

Flexible spinner using canvas.

js spinner component

Installation

$ component install godmodelabs/spinner
$ npm install spinner-component

Example

var Spinner = require('spinner');

var spinner = new Spinner;
document.body.appendChild(spinner.el);

API

Spinner#font(family)

Change the font to family.

Spinner#fontSize(n)

Change the font size to n.

Spinner#size(n)

Change the indicator diameter to n, defaults to 50.

Spinner#speed(n)

Change the speed to n rpm, defaults to 60.

License

MIT