matrix-dimension/web/app/elements/ibox/ibox.component.html

14 lines
615 B
HTML
Raw Normal View History

2017-12-22 23:08:10 -05:00
<div class="ibox">
<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>
<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>