mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [AAE-30336] updated interface and removed buttons * [AAE-30336] added fullscreen support for dynamic component * [AAE-30336] fullscreen feature and css fix * [AAE-30336] fixed wrong subscription, removed obsolete code * [AAE-30336] removed obsolete variable * [AAE-30336] updated unit test and model * [AAE-30336] updated documentation and comments
2.2 KiB
2.2 KiB
Title, Added, Status, Last reviewed
Title | Added | Status | Last reviewed |
---|---|---|---|
User Task Cloud Buttons Component | 2025-02-05 | Active | 2025-02-05 |
User Task Cloud Buttons Component
Provides reusable component with buttons related to tasks. It contains three buttons: cancel, claim, unclaim. Visibility of each button is controlled by input property.
Basic Usage
<adf-cloud-user-task-cloud-buttons
[appName]="appName"
[canClaimTask]="canClaimTask()"
[canUnclaimTask]="canUnclaimTask()"
[showCancelButton]="showCancelButton"
[taskId]="taskId"
(cancelClick)="onCancelClick()"
(claimTask)="onClaimTask()"
(unclaimTask)="onUnclaimTask()"
(error)="onError($event)"
/>
Class members
Properties
Name | Type | Default value | Description |
---|---|---|---|
appName | string |
"" | App id to fetch corresponding form and values. |
canClaimTask | boolean |
Boolean informing if a task can be claimed. | |
canUnclaimTask | boolean |
Boolean informing if a task can be unclaimed. | |
taskId | string |
Task id to fetch corresponding form and values. | |
showCancelButton | boolean |
true | Toggle rendering of the Cancel button. |
Events
Name | Type | Description |
---|---|---|
cancelClick | EventEmitter<any> |
Emitted when the task is cancelled. |
error | EventEmitter<any> |
Emitted when any error occurs. |
claimTask | EventEmitter<string> |
Emitted when the task is claimed. |
unclaimTask | EventEmitter<string> |
Emitted when the task is unclaimed. |