mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* Generate docs * Fix duplicated Optional and restore code block ticks * Fix docbuild command errors, improve documentations --------- Co-authored-by: Amedeo Lepore <amedeo.lepore85@gmail.com> Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
30 lines
780 B
Markdown
30 lines
780 B
Markdown
---
|
|
Title: Task Comments Component
|
|
Added: v5.1.0
|
|
Status: Active
|
|
---
|
|
|
|
# [Task Comments Component](../../../lib/process-services/src/lib/task-comments/task-comments.component.ts "Defined in task-comments.component.ts")
|
|
|
|
Displays comments from users involved in a specified task and allows an involved user to add a comment to a task.
|
|
|
|

|
|
|
|
## Basic Usage Task
|
|
|
|
```html
|
|
<adf-task-comments
|
|
[taskId]="YOUR_TASK_ID"
|
|
[readOnly]="YOUR_READ_ONLY_FLAG">
|
|
</adf-task-comments>
|
|
```
|
|
|
|
## Class members
|
|
|
|
### Properties
|
|
|
|
| Name | Type | Default value | Description |
|
|
| ---- | ---- | ------------- | ----------- |
|
|
| readOnly | `boolean` | | Determines if comments are read only. |
|
|
| taskId | `string` | | The numeric ID of the task. |
|