gauge.js

0.2.1 • Public • Published

gauge.js

Build Status Dependency Status DevDependency Status

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

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

Readme

Keywords

none

Package Sidebar

Install

npm i gauge.js

Weekly Downloads

39

Version

0.2.1

License

MIT

Last publish

Collaborators

  • vovanr