0.3.0 • Published 6 years ago

angular2-justgage v0.3.0

Weekly downloads
34
License
MIT
Repository
github
Last release
6 years ago

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.

import { JustgageModule } from 'angular2-justgage';

@NgModule({
  imports: [ JustgageModule ]
  // ...
})
export class AppModule {
}

And you can use selector justgage in your template.

JavaScript

options = {
  min: 0,
  title: 'Visitors'
};
max = 100;
value = 67;

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.

Contact

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

0.3.0

6 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago