mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
29 lines
543 B
Markdown
29 lines
543 B
Markdown
# ADF Like component
|
|
|
|
Allows a user to add "likes" to an item.
|
|
|
|

|
|
|
|
## Basic Usage
|
|
|
|
```html
|
|
<adf-like [nodeId]="nodeId"></adf-like>
|
|
```
|
|
|
|
### Properties
|
|
|
|
| Attribute | Type | Default | Description |
|
|
| --------- | ---- | ------- | ----------- |
|
|
| nodeId | string | | The identifier of a node. |
|
|
|
|
### Events
|
|
|
|
| Name | Description |
|
|
| ---- | ----------- |
|
|
| changeVote | Raised when vote gets changed |
|
|
|
|
## See also
|
|
|
|
- [Rating component](rating.component.md)
|
|
- [Rating service](rating.service.md)
|