mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-1769] Added JSDocs for directives (#2964)
This commit is contained in:
committed by
Eugenio Romano
parent
d731cc651c
commit
b45048b5ed
@@ -18,16 +18,16 @@ Fetches the Task Audit information in the pdf or json format.
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Default | Description |
|
||||
| --- | --- | --- | --- |
|
||||
| taskId | string | | (**required**) The id of the task. |
|
||||
| format | string | pdf | In whitch format you want the task audit information (pdf or json). |
|
||||
| download | boolean | false | True If you want download the file on the click event. |
|
||||
| fileName | string | Audit | Represent the name of the file to download in case the format is pdf. |
|
||||
| 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 | Description |
|
||||
| --- | --- |
|
||||
| clicked | Raised when the task audit info is ready |
|
||||
| error | Raised if there is an error during fetching task information |
|
||||
| Name | Type | Description |
|
||||
| ---- | ---- | ----------- |
|
||||
| clicked | `EventEmitter<any>` | Emitted when the decorated element is clicked. |
|
||||
| error | `EventEmitter<any>` | Emitted when an error occurs. |
|
||||
|
Reference in New Issue
Block a user