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

15 lines
650 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"
[ngClass]="[isCollapsible ? 'ibox-title-collapsible' : '']"
*ngIf="hasTitle">
<h5 *ngIf="boxTitle">
{{ boxTitle }}
2017-12-23 01:19:30 -05:00
</h5>
<ng-content select=".my-ibox-title" *ngIf="!boxTitle"></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>