[ADF-2764] Updated process services docs with latest features (#3390)

This commit is contained in:
Andy Stark
2018-05-24 17:10:35 +01:00
committed by Eugenio Romano
parent a2581417bd
commit 04e50eeabd
33 changed files with 576 additions and 455 deletions

View File

@@ -2,17 +2,11 @@
Added: v2.0.0
Status: Active
---
# Task Standalone component
This component can be used when there is no form attached to a task.
## Contents
- [Basic Usage](#basic-usage)
- [Properties](#properties)
- [Events](#events)
## Basic Usage
```html
@@ -26,16 +20,15 @@ This component can be used when there is no form attached to a task.
### Properties
| Name | Type | Default value | Description |
| ---- | ---- | ------------- | ----------- |
| taskName | `string` | | Name of the task |
| isCompleted | `boolean` | `false` | If true then Task completed message is shown and `Complete` and `Cancel` buttons are hidden |
| hasCompletePermission | `boolean` | `true` | Toggle rendering of the `Complete` button. |
| hideCancelButton | `boolean` | `true` | Toggle rendering of the `Cancel` button. |
| -- | -- | -- | -- |
| hasCompletePermission | `boolean` | true | Toggles rendering of the `Complete` button. |
| hideCancelButton | `boolean` | true | Toggles rendering of the `Cancel` button. |
| isCompleted | `boolean` | false | If true then Task completed message is shown and `Complete` and `Cancel` buttons are hidden. |
| taskName | `string` | | Name of the task. |
### Events
| Name | Type | Description |
| ---- | ---- | ----------- |
| cancel | `EventEmitter<void>` | Emitted when the `Cancel` button is clicked. |
| complete | `EventEmitter<void>` | Emitted when the form associated with the task is completed. |
| -- | -- | -- |
| cancel | `EventEmitter<void>` | Emitted when the "Cancel" button is clicked. |
| complete | `EventEmitter<void>` | Emitted when the form associated with the task is completed. |