Andy Stark 5fc05da7aa [ADF-4152] Updated folder structure of core docs (#4415)
* [ADF-4152] Moved core library docs into subfolders

* [ADF-4152] Moved core library docs into subfolders

* [ADF-4152] Manual fixes to core doc file links

* [ADF-4152] Further automatic + manual link tidying
2019-03-12 14:20:20 +00:00

1.1 KiB

Title, Added, Status
Title Added Status
Comments Component 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.