mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-2905] Added JSDocs for process services (#3292)
* [ADF-2905] Added JSDocs for process services * [ADF-2905] Added missing return value in tasklist service
This commit is contained in:
committed by
Eugenio Romano
parent
641f7d9695
commit
d361c7ddd8
@@ -26,21 +26,27 @@ import { Component, EventEmitter, Input, Output, ViewEncapsulation } from '@angu
|
||||
|
||||
export class TaskStandaloneComponent {
|
||||
|
||||
/** Name of the task. */
|
||||
@Input()
|
||||
taskName: string;
|
||||
|
||||
/** If true then Task completed message is shown and `Complete` and `Cancel` buttons are hidden. */
|
||||
@Input()
|
||||
isCompleted: boolean = false;
|
||||
|
||||
/** Toggles rendering of the `Complete` button. */
|
||||
@Input()
|
||||
hasCompletePermission: boolean = true;
|
||||
|
||||
/** Toggles rendering of the `Cancel` button. */
|
||||
@Input()
|
||||
hideCancelButton: boolean = true;
|
||||
|
||||
/** Emitted when the "Cancel" button is clicked. */
|
||||
@Output()
|
||||
cancel: EventEmitter<void> = new EventEmitter<void>();
|
||||
|
||||
/** Emitted when the form associated with the task is completed. */
|
||||
@Output()
|
||||
complete: EventEmitter<void> = new EventEmitter<void>();
|
||||
|
||||
|
Reference in New Issue
Block a user