[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:
Andy Stark
2018-05-09 16:12:52 +01:00
committed by Eugenio Romano
parent 641f7d9695
commit d361c7ddd8
6 changed files with 67 additions and 4 deletions

View File

@@ -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>();