alfresco-ng2-components/docs/process-services/attach-form.component.md
Andy Stark e03f3a1a6b [ADF-3323] Fixed broken links in doc files (#3662)
* [ADF-3323] Fixed URL path to Typescript source files

* [ADF-3323] Fixed and checked broken links caused by previous bug
2018-08-14 15:42:45 +01:00

34 lines
811 B
Markdown

---
Added: v2.0.0
Status: Active
---
# Attach Form component
This component can be used when there is no form attached to a task and we want to add one.
## Basic Usage
```html
<adf-attach-form
[taskId]="taskid">
</adf-attach-form>
```
## Class members
### Properties
| Name | Type | Default value | Description |
| ---- | ---- | ------------- | ----------- |
| formKey | `any` | | |
| taskId | `any` | | Id of the task. |
### Events
| Name | Type | Description |
| ---- | ---- | ----------- |
| cancelAttachForm | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<void>` | Emitted when the "Cancel" button is clicked. |
| error | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<any>` | |
| success | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<void>` | |