Socket
Socket
Sign inDemoInstall

angular2-justgage

Package Overview
Dependencies
8
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    angular2-justgage

JustGage component for Angular2+


Version published
Maintainers
1
Install size
1.33 MB
Created

Changelog

Source

v0.3.0 / 2017-11-28

Fixed

  • angular 5 warning and AOT build.

Readme

Source

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)

Keywords

FAQs

Last updated on 28 Nov 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc