alfresco-ng2-components/docs/core/comments.component.md
Andy Stark e03f3a1a6b [ADF-3323] Fixed broken links in doc files (#3662)
* [ADF-3323] Fixed URL path to Typescript source files

* [ADF-3323] Fixed and checked broken links caused by previous bug
2018-08-14 15:42:45 +01:00

1.0 KiB

Added, Status
Added Status
v2.0.0 Active

Comments Component

Displays comments from users involved in a specified task or content and allows an involved user to add a comment to a task or a content.

adf-comments

Basic Usage Task

<adf-comments
    [taskId]="YOUR_TASK_ID"
    [readOnly]="YOUR_READ_ONLY_FLAG">
</adf-comments>

Basic Usage Content

<adf-comments
    [nodeId]="YOUR_NODE_ID"
    [readOnly]="YOUR_READ_ONLY_FLAG">
</adf-comments>

Class members

Properties

Name Type Default value Description
nodeId string The numeric ID of the node.
readOnly boolean false Are the comments read only?
taskId string The numeric ID of the task.

Events

Name Type Description
error EventEmitter<any> Emitted when an error occurs while displaying/adding a comment.