Skip to content
A collection of gauge components for JavaScript.
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
src
srcdocs
.editorconfig
.eslintrc.js
.gitignore
.npmignore
.travis.yml
CONTRIBUTING.md
ChangeLog.txt
LICENSE.md
README.md
gauges.gif
package-lock.json
package.json
webpack.config.js

README.md

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.

You can’t perform that action at this time.