0.0.5 • Published 4 years ago

ngx-rating-star v0.0.5

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

Ngx-star-rating

Rating component for angular 8+ projects (ng9)

Creative rating with mutiple color variance

Preview demo

This preview was generated with Stackblitz

Angular version

This library was generated with Angular CLI version 9.1.9.

Code integration

To use this package as a service npm i ngx-rating-star install this on the root angular project .

Note: Don't forget to run this commend npm i ngx-rating-star on root folder or else it will throw error.

Import

Import the module on your app.module.ts file as follow.

import { ngxRatingModule } from "ngx-rating-star";

Then import the module as follow on imports array

ngxRatingModule

Using

After importing this library with ng build ng9-app-lib, go to the component which is declared under app.module.ts and integrate as below.

<ngx-rating [star]="1" [shape]="'star' | 'multistar' | 'fill'"></ngx-rating>

star : (required) value shoule be 1-5

shape : (required) value shoule be 'star' | 'multistar' | 'fill'

Further help

To get more help on the usage check out the Ngx rating star README.

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago