0.2.1 • Published 9 years ago

gauge.js v0.2.1

Weekly downloads
72
License
MIT
Repository
github
Last release
9 years ago

gauge.js

Build Status Dependency Status DevDependency Status

Тестовое задание KudaGo (Demo)

npm.io

Install

npm i -D gauge.js
bower i -D 'VovanR/gauge.js'

Usage

var foo = new Gauge({
    block: document.getElementById('holder'),
    actualValue: 4,
    labels: [0, 1, 2, 3, 4, 5, 6],
    warningValue: 75,
    dangerValue: 90,
});
foo.setValue(2);
foo.setValue(6);
foo.setValue(0);

Development

Initialize

npm i

Test

In console

npm run test

In browser

open ./text/index-test.html

Lint

npm run lint

License

MIT © Vladimir Rodkin

0.2.1

9 years ago

0.2.0

9 years ago

0.1.3

9 years ago

0.1.1

9 years ago