Maurizio Vitale 0274088114 [ADF-3274] people widget instead of the people list (#3582)
* people list added

* tests added

* style fix

* Update start-task.component.ts

Use correct import

* Update people.widget.spec.ts

add the async

* peopleSelected test fixed
2018-08-14 15:42:27 +01:00

35 lines
852 B
Markdown

---
Added: v2.0.0
Status: Active
---
# Start Task Component
Creates/Starts new task for the specified app
![adf-start-task](../docassets/images/adf-start-task.png)
## Basic Usage
```html
<adf-start-task
[appId]="YOUR_APP_ID">
</adf-start-task>
```
## Class members
### Properties
| Name | Type | Default value | Description |
| -- | -- | -- | -- |
| appId | `number` | | (required) The id of the app. |
### Events
| Name | Type | Description |
| -- | -- | -- |
| cancel | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<void>` | Emitted when the cancel button is clicked by the user. |
| error | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<any>` | Emitted when an error occurs. |
| success | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<any>` | Emitted when the task is successfully created. |