alfresco-ng2-components/docs/start-task.component.md

28 lines
575 B
Markdown

# 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>
```
### Properties
| Name | Type | Description |
| --- | --- | --- |
| appId | string | (**required**): The id of the app. |
### Events
| Name | Description |
| --- | --- |
| success | Raised when the task is successfully created |
| cancel | Raised when the cancel button is pressed by the user |
| error | Raised if there is an error during task creation |