mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
13 lines
650 B
HTML
13 lines
650 B
HTML
<mat-list id="adf-rating-container" class="adf-rating-container">
|
|
<mat-list-item class="adf-rating-star" *ngFor="let currentRate of stars; let idx = index">
|
|
<span id="adf-rate-{{idx}}">
|
|
<mat-icon id="adf-grey-star-{{idx}}" *ngIf="currentRate.fill" class="adf-colored-star"
|
|
(click)="updateVote(idx + 1)">star_rate
|
|
</mat-icon>
|
|
<mat-icon id="adf-colored-star-{{idx}}" *ngIf="!currentRate.fill" class="adf-grey-star"
|
|
(click)="updateVote(idx + 1)">star_border
|
|
</mat-icon>
|
|
</span>
|
|
</mat-list-item>
|
|
</mat-list>
|