Skip to content

kpilquist/steelseries

 
 

Repository files navigation

Steelseries Gauges

Build Status npm version

A collection of gauge components for JavaScript.

See the demo here.

gauges

This project is a re-packaging of HanSolo's SteelSeries-Canvas.

Installation

Using npm

npm install steelseries
import * as steelseries from "steelseries";

Using a CDN

Use unpkg: https://unpkg.com/steelseries .

Example

<!DOCTYPE html>
<html>
  <body>
    <div>
      <canvas id="myCanvas"></canvas>
    </div>

    <script src="./index.js"></script>
  </body>
</html>
import { Compass } from "steelseries";

const compass = new Compass(document.querySelector("#myCanvas"), {
  size: 200
});

Documentation

Unfortunately there is no formal documentation :) . But you can take a look at the Demo Website and it's source code.

About

A collection of gauge components for JavaScript.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 74.8%
  • HTML 25.2%