mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
1.2 KiB
1.2 KiB
Added, Status
Added | Status |
---|---|
v2.0.0 | Active |
Process Audit Directive
Fetches the Process Audit information the PDF or JSON format.
Basic Usage
<button
adf-process-audit
[process-id]="processId"
[format]="'pdf'"
[download]="true"
mat-icon-button (clicked)="onAuditClick($event)" (error)="onAuditError($event)" >
<mat-icon>assignment_ind</mat-icon>
</button>
Class members
Properties
Name | Type | Default value | Description |
---|---|---|---|
download | boolean |
true | Enables downloading of the audit file on clicking. |
fileName | string |
"Audit" | Name of the file to download (for PDF downloads). |
format | string |
"pdf" | Format for the audit information (can be "pdf" or "json"). |
process-id | string |
ID of the process. |
Events
Name | Type | Description |
---|---|---|
clicked | EventEmitter <any> |
Emitted when the decorated element is clicked. |
error | EventEmitter <any> |
Emitted when an error occurs. |