mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
1.1 KiB
1.1 KiB
Added, Status
| Added | Status |
|---|---|
| v2.0.0 | Active |
Task Audit Directive
Fetches the Task Audit information in the pdf or json format.
Basic Usage
<button
adf-task-audit
[task-id]="taskId"
[download]="download"
mat-icon-button (clicked)="onAuditClick($event)" (error)="onAuditError($event)" >
<mat-icon>assignment_ind</mat-icon>
</button>
Properties
| Name | Type | Default value | Description |
|---|---|---|---|
| taskId | string |
(required) The id of the task. | |
| fileName | string |
'Audit' |
Name of the downloaded file (for PDF downloads). |
| format | string |
'pdf' |
Format of the audit information. Can be "pdf" or "json". |
| download | boolean |
true |
Enables downloading of the audit when the decorated element is clicked. |
Events
| Name | Type | Description |
|---|---|---|
| clicked | EventEmitter<any> |
Emitted when the decorated element is clicked. |
| error | EventEmitter<any> |
Emitted when an error occurs. |
