mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Follow the component guide style The accordion should be open by default
This commit is contained in:
committed by
Mario Romano
parent
93b8d3742f
commit
1d45089125
@@ -254,15 +254,15 @@ You can create an accordion menu using the AccordionComponent that wrap the acti
|
||||
The AccordionComponent is exposed by the alfresco-core.
|
||||
|
||||
```html
|
||||
<accordion>
|
||||
<accordion-group [heading]="'Processes'" [isSelected]="true" [headingIcon]="'assessment'">
|
||||
<adf-accordion>
|
||||
<adf-accordion-group [heading]="'Processes'" [isSelected]="true" [headingIcon]="'assessment'">
|
||||
<activiti-process-instance-filters
|
||||
[appId]="appId"
|
||||
(filterClick)="onProcessFilterClick($event)"
|
||||
(onSuccess)="onSuccessProcessFilterList($event)">
|
||||
</activiti-process-instance-filters>
|
||||
</accordion-group>
|
||||
</accordion>
|
||||
</adf-accordion-group>
|
||||
</adf-accordion>
|
||||
```
|
||||
|
||||

|
||||
|
@@ -361,8 +361,8 @@ You can create an accordion menu using the AccordionComponent that wrap the acti
|
||||
The AccordionComponent is exposed by the alfresco-core.
|
||||
|
||||
```html
|
||||
<accordion>
|
||||
<accordion-group [heading]="'Tasks'" [isSelected]="true" [headingIcon]="'assignment'">
|
||||
<adf-accordion>
|
||||
<adf-accordion-group [heading]="'Tasks'" [isSelected]="true" [headingIcon]="'assignment'">
|
||||
<activiti-filters
|
||||
[appId]="appId"
|
||||
[hasIcon]="false"
|
||||
@@ -370,8 +370,8 @@ The AccordionComponent is exposed by the alfresco-core.
|
||||
(onSuccess)="onSuccessTaskFilterList($event)"
|
||||
#activitifilter>
|
||||
</activiti-filters>
|
||||
</accordion-group>
|
||||
</accordion>
|
||||
</adf-accordion-group>
|
||||
</adf-accordion>
|
||||
```
|
||||
|
||||

|
||||
|
@@ -19,7 +19,7 @@ import { Component, Input, OnDestroy } from '@angular/core';
|
||||
import { AccordionComponent } from './accordion.component';
|
||||
|
||||
@Component({
|
||||
selector: 'accordion-group',
|
||||
selector: 'adf-accordion-group',
|
||||
moduleId: module.id,
|
||||
templateUrl: 'accordion-group.component.html',
|
||||
styleUrls: ['./accordion-group.component.css']
|
||||
|
@@ -19,7 +19,7 @@ import { Component } from '@angular/core';
|
||||
import { AccordionGroupComponent } from './accordion-group.component';
|
||||
|
||||
@Component({
|
||||
selector: 'accordion',
|
||||
selector: 'adf-accordion',
|
||||
template: `
|
||||
<ng-content></ng-content>
|
||||
`,
|
||||
|
Reference in New Issue
Block a user