Allows a user to add and remove rating to an item.
It displays the average rating and the number of ratings. If the user has not rated the item the average rating stars color is grey.
If the user has rated the item the average rating stars color is yellow.
In order to remove the rating the user should click on the same star that he rated. If the average is decimal number it will be rounded.
<adf-rating
[nodeId]="'74cd8a96-8a21-47e5-9b3b-a1b3e296787d'">
</adf-rating>
Name | Type | Default value | Description |
---|---|---|---|
nodeId | string | Identifier of the node to apply the rating to. |
Name | Type | Description |
---|---|---|
changeVote | EventEmitter <any> | Emitted when the "vote" gets changed. |
© 2023 Alfresco Software, Inc. All Rights Reserved.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.