Untitled

mail@pastecode.io avatar
unknown
html
3 years ago
627 B
1
Indexable
Never
<div id="accordion" class="accordion" (click)="openAccordion()" [@fade]>
  <div class="m-l-24 m-t-32 m-b-32 accordion__title ">
    <span class="icon-chevron-right icon icon__blue"    [@rotateRight]="isAccordionExpanded? 'final': 'default'" ></span>
    <h2 id="accordionTitle">{{Title}}</h2>
  </div>
</div>
<ng-container [ngTemplateOutlet]="selectedBodyTemplate?  selectedBodyTemplate : defaultBodyTemplate"
 *ngIf="isAccordionExpanded == true"></ng-container>

<ng-template #defaultBodyTemplate>
  <div class="panel__grey p-b-32">
     <p>Jeszcze niczego tutaj nie ma</p>
  </div>
</ng-template>
<app-divider></app-divider>