mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Improve doc
This commit is contained in:
@@ -50,7 +50,7 @@ Also make sure you include these dependencies in your `index.html` file:
|
|||||||
|
|
||||||
## Basic usage example Activiti Task List
|
## Basic usage example Activiti Task List
|
||||||
The component shows the list of all the tasks filter by the
|
The component shows the list of all the tasks filter by the
|
||||||
FilterModel passed in input.
|
FilterParamModel passed in input.
|
||||||
```html
|
```html
|
||||||
<activiti-tasklist [taskFilter]="taskFilterModel"></activiti-tasklist>
|
<activiti-tasklist [taskFilter]="taskFilterModel"></activiti-tasklist>
|
||||||
```
|
```
|
||||||
@@ -62,25 +62,19 @@ clicked<br />
|
|||||||
|
|
||||||
#### Options
|
#### Options
|
||||||
|
|
||||||
**taskFilter**: { FilterModel } required) FilterModel object that
|
**taskFilter**: { FilterParamModel } required) FilterParamModel object that
|
||||||
is passed to the task list API to filter the task list.
|
is passed to the task list API to filter the task list.
|
||||||
Example:
|
Example:
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"id": 4,
|
"appDefinitionId": "1",
|
||||||
"name": "Involved Tasks",
|
"processDefinitionId": "1533",
|
||||||
"recent": false,
|
"sort": "created-desc",
|
||||||
"icon": "glyphicon-align-left",
|
"text": "",
|
||||||
"filter": {
|
"state": "open",
|
||||||
"appDefinitionId": "1",
|
"assignment": "involved",
|
||||||
"processDefinitionId": "1533",
|
"page": "0",
|
||||||
"sort": "created-desc",
|
"size": "25"
|
||||||
"name": "",
|
|
||||||
"state": "open",
|
|
||||||
"assignment": "involved",
|
|
||||||
"page": "0",
|
|
||||||
"size": "25"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
**schemaColumn**: { any[] } optional) JSON object that represent
|
**schemaColumn**: { any[] } optional) JSON object that represent
|
||||||
|
Reference in New Issue
Block a user