# angular2-justgage

> JustGage component for Angular2+

Latest version **0.3.0** (published 2017-11-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install angular2-justgage
pnpm add angular2-justgage
yarn add angular2-justgage
bun add angular2-justgage
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2017-11-28 |
| First published | 2016-12-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Chen, Yi-Cyuan |
| Maintainers | emn178 |
| Keywords | gauge, justgage, angular2 |

## Links

- npm: https://www.npmjs.com/package/angular2-justgage
- Repository: https://github.com/emn178/angular2-justgage
- Issues: https://github.com/emn178/angular2-justgage/issues
- npm.io page: https://npm.io/package/angular2-justgage

## Dependencies (2)

- [raphael](https://npm.io/package/raphael.md) ^2.2.7
- [justgage](https://npm.io/package/justgage.md) ^1.2.2

## Recent versions

- 0.3.0 (latest) — 2017-11-28
- 0.2.1 — 2017-07-18
- 0.2.0 — 2017-04-11
- 0.1.3 — 2017-03-09
- 0.1.2 — 2017-01-05
- 0.1.1 — 2017-01-03
- 0.1.0 — 2016-12-30

## README

# angular2-justgage
JustGage component for Angular2

## Installation
You can install angular2-justgage by using npm.
```
npm install angular2-justgage
```

## Usage
Add `JustgageModule` to your module, eg.
```JavaScript
import { JustgageModule } from 'angular2-justgage';

@NgModule({
  imports: [ JustgageModule ]
  // ...
})
export class AppModule {
}
```
And you can use selector `justgage` in your template.

JavaScript
```JavaScript
options = {
  min: 0,
  title: 'Visitors'
};
max = 100;
value = 67;
```
HTML
```HTML
<justgage [options]="options" [max]="max" [value]="value"></justgage>
```

## Options
### [options]
*object*  
To create a justgage with configuration options, simply pass an object containing your configuration to the constructor.

### [value]
*number*
Set current value.

### [max]
*number*
Set maximum value.

## License
The project is released under the [MIT license](http://www.opensource.org/licenses/MIT).

## Contact
The project's website is located at https://github.com/emn178/angular2-justgage  
Author: Chen, Yi-Cyuan (emn178@gmail.com)

---
_Source: https://npm.io/package/angular2-justgage · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
