Title | Added | Status | Last reviewed |
---|---|---|---|
Task Audit Directive |
v2.0.0 |
Active |
2019-01-14 |
Fetches the Task Audit information in PDF or JSON format.
<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>
Name | Type | Default value | Description |
---|---|---|---|
download | boolean |
true | Enables downloading of the audit when the decorated element is clicked. |
fileName | string |
"Audit" | Name of the downloaded file (for PDF downloads). |
format | string |
"pdf" | Format of the audit information. Can be "pdf" or "json". |
taskId | string |
(required) The id of the task. |
Name | Type | Description |
---|---|---|
clicked | EventEmitter <any> |
Emitted when the decorated element is clicked. |
error | EventEmitter <any> |
Emitted when an error occurs. |