[ADF-1586] Added new Core doc files (#2383)

This commit is contained in:
Andy Stark
2017-09-27 20:21:06 +01:00
committed by Eugenio Romano
parent e1573ddbde
commit 2651f17a14
15 changed files with 568 additions and 49 deletions

View File

@@ -74,21 +74,5 @@ You can use inside the filterParam one of the properties from [FilterParamsModel
### How to create an accordion menu with the task filter
You can create an accordion menu using the AccordionComponent that wrap the activiti task filter.
The AccordionComponent is exposed by the alfresco-core.
```html
<adf-accordion>
<adf-accordion-group [heading]="'Tasks'" [isSelected]="true" [headingIcon]="'assignment'">
<adf-filters
[appId]="appId"
[hasIcon]="false"
(filterClick)="onTaskFilterClick($event)"
(onSuccess)="onSuccessTaskFilterList($event)"
#activitifilter>
</adf-filters>
</adf-accordion-group>
</adf-accordion>
```
![how-create-accordion-menu](docassets/images/how-to-create-accordion-menu.png)
The task filter often works well as an item in an accordion menu. See the [Accordion component](accordion.component.md)
page for an example of how to do set this up.