steelseries

A collection of gauge components for JavaScript.

Usage no npm install needed!

<script type="module">
  import steelseries from 'https://cdn.skypack.dev/steelseries';
</script>

README

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.