Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 639 Bytes

File metadata and controls

33 lines (24 loc) · 639 Bytes

Rating | Usage

  • Component (ql-rating)
  • Directive ()
  • Service ()

app.module.ts

import {RatingModule} from '@qrsln/loot-box/Libs/Rating';

@NgModule({
  imports: [RatingModule, /*...*/],
})

Usage

<ql-rating [ShowValue]="true" [Rate]="7.8" [MaxItem]="10" [IsReadOnly]="true"
           (rateChanged)="rateChanged($event)"></ql-rating>
rateChanged($event)
{
  console.log($event);
}