2017-12-22 23:08:10 -05:00
|
|
|
<div class="ibox">
|
2017-12-23 21:45:34 -05:00
|
|
|
<div class="ibox-title" (click)="isCollapsible ? (collapsed = !collapsed) : false"
|
2017-12-23 01:19:30 -05:00
|
|
|
[ngClass]="[isCollapsible ? 'ibox-title-collapsible' : '']">
|
|
|
|
<h5 *ngIf="title">
|
|
|
|
{{ title }}
|
|
|
|
</h5>
|
|
|
|
<ng-content select=".my-ibox-title" *ngIf="!title"></ng-content>
|
2017-12-22 23:08:10 -05:00
|
|
|
<ng-content select=".my-ibox-addl-title"></ng-content>
|
2018-03-24 00:12:59 -04:00
|
|
|
<i class="ibox-icon fa fa-chevron-down" *ngIf="isCollapsible"></i>
|
2017-12-22 23:08:10 -05:00
|
|
|
</div>
|
2018-03-24 00:12:34 -04:00
|
|
|
<div class="ibox-content" *ngIf="!collapsed" [@fadeInNotOutAnimation]>
|
2017-12-22 23:08:10 -05:00
|
|
|
<ng-content select=".my-ibox-content"></ng-content>
|
|
|
|
</div>
|
|
|
|
</div>
|