- Component (ql-rating)
- Directive ()
- Service ()
import {RatingModule} from '@qrsln/loot-box/Libs/Rating';
@NgModule({
imports: [RatingModule, /*...*/],
})
<ql-rating [ShowValue]="true" [Rate]="7.8" [MaxItem]="10" [IsReadOnly]="true"
(rateChanged)="rateChanged($event)"></ql-rating>
rateChanged($event)
{
console.log($event);
}