@nikiphoros/ngx-rating
v0.0.7
Published
Rating library for your angular 2+ applications. Does not depend on any other library. It supports all angular web applications, mobile applications (like ionic). It also supports on both mobile and browser
Downloads
6
Readme
Getting Started
Rating library for your angular 2+ applications. Does not depend on any other library. It supports all angular web applications, mobile applications (like ionic). It also supports on both mobile and browser
Authors
Installation
Install @nikiphoros/ngx-rating with npm
npm install @nikiphoros/ngx-rating
Add needed package to NgModule imports:
import { NgxRatingModule } from '@nikiphoros/ngx-rating';
@NgModule({
...
imports: [NgxRatingModule,...]
...
})
Usage
After importing NgxRatingModule module in your app, use a component in your html:
<ngx-rating
[(ngModel)]="rating"
(ngModelChange)="change_callback()"> //if you want calback after value change
</ngx-rating>