Improve doc

This commit is contained in:
mauriziovitale84
2016-09-05 12:19:31 +01:00
parent 6cdc994798
commit 3f38820504

View File

@@ -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