mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
2.6 KiB
2.6 KiB
Title, Added, Status, Last reviewed
| Title | Added | Status | Last reviewed |
|---|---|---|---|
| Form cloud component | v3.2.0 | Active | 2019-04-17 |
Task form cloud component
Shows a form for a task.
Contents
Basic Usage
<adf-cloud-task-form
[appName]="appName"
[taskId]="taskId">
</adf-cloud-task-form>
Class members
Properties
| Name | Type | Default value | Description |
|---|---|---|---|
| appName | string |
App id to fetch corresponding form and values. | |
| taskId | string |
Task id to fetch corresponding form and values. | |
| showRefreshButton | boolean |
false | Toggle rendering of the Refresh button. |
| showValidationIcon | boolean |
true | Toggle rendering of the Validation icon. |
| showCancelButton | boolean |
true | Toggle rendering of the Cancel outcome button. |
| showCompleteButton | boolean |
true | Toggle rendering of the Complete outcome button. |
| readOnly | boolean |
false | Toggle readOnly state of the task. |
Events
| Name | Type | Description |
|---|---|---|
| formSaved | EventEmitter<FormCloud> |
Emitted when the form is saved. |
| formCompleted | EventEmitter<FormCloud> |
Emitted when the form is submitted with the Complete outcome. |
| taskCompleted | EventEmitter<string> |
Emitted when the task is completed. |
| taskClaimed | EventEmitter<string> |
Emitted when the task is claimed. |
| taskUnclaimed | EventEmitter<string> |
Emitted when the task is unclaimed. |
| cancelClick | EventEmitter<string> |
Emitted when the cancel button is clicked. |
| error | EventEmitter<any> |
Emitted when any error occurs. |