1.0.4 • Published 1 year ago
ih-ratings-count v1.0.4
IhStarRating
#Installation
import {IhRatingsModule} from 'ih-ratings-count';
- Add IhRatingsModule to NgModule imports array. @NgModule({ imports: BrowserModule, IhRatingsModule , declarations: AppComponent , bootstrap: AppComponent })
- To display ratings just need to pass the rating between 0 to 5. rating="4.2", rating="2.5", rating="1.1"
Syntax - <ih-ratings-count rating="2.4">
- Width is optional parameter. Default is 250px. If you want to increase or decrease the width you need to pass numeric value.