--- Title: Rating component Added: v2.0.0 Status: Active Last reviewed: 2019-01-14 --- # [Rating component](../../../lib/content-services/social/rating.component.ts "Defined in rating.component.ts") Allows a user to add ratings to an item. ![Rating component screenshot](../../docassets/images/social2.png) ## Basic Usage ```html ``` ## Class members ### Properties | Name | Type | Default value | Description | | ---- | ---- | ------------- | ----------- | | nodeId | `string` | | Identifier of the node to apply the rating to. | ### Events | Name | Type | Description | | ---- | ---- | ----------- | | changeVote | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`` | Emitted when the "vote" gets changed. | ## See also - [Like component](like.component.md) - [Rating service](../services/rating.service.md)