mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
29 lines
760 B
Markdown
29 lines
760 B
Markdown
---
|
|
Added: v2.0.0
|
|
Status: Active
|
|
---
|
|
# Process Instance Comments component
|
|
|
|
Displays comments associated with a particular process instance and allows the user to add new comments.
|
|
|
|
## Basic Usage
|
|
|
|
```html
|
|
<adf-process-instance-comments
|
|
processInstanceId="YOUR_PROCESS_INSTANCE_ID">
|
|
</adf-process-instance-comments>
|
|
```
|
|
|
|
### Properties
|
|
|
|
| Name | Type | Default value | Description |
|
|
| ---- | ---- | ------------- | ----------- |
|
|
| processInstanceId | `string` | | (**required**) The numeric ID of the process instance to display comments for. |
|
|
| readOnly | `boolean` | `true` | Should the comments be read-only? |
|
|
|
|
### Events
|
|
|
|
| Name | Type | Description |
|
|
| ---- | ---- | ----------- |
|
|
| error | `EventEmitter<any>` | Emitted when an error occurs. |
|