Maurizio Vitale cd7e21a23d [ADF-4858] Make sure process-services works with ng commands (#5067)
* Process-services:
Making sure you can run
ng build process-services
ng test process-services

* Fix the path of the styles

* move the file in the right place
2019-09-20 09:47:17 +01:00

1.4 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Process Audit Directive v2.0.0 Active 2019-01-14

Process Audit Directive

Fetches the Process Audit information in PDF or JSON format.

adf-process-audit-directive

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").
processId 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.