matrix-dimension/web/app/elements/ibox/ibox.component.html
2017-12-22 21:44:21 -07:00

11 lines
506 B
HTML

<div class="ibox">
<div class="ibox-title" (click)="collapsed = !collapsed" [ngClass]="[isCollapsible ? 'ibox-title-collapsible' : '']">
<h5>{{ title }}</h5>
<ng-content select=".my-ibox-addl-title"></ng-content>
<i class="ibox-icon fa" *ngIf="isCollapsible"
[ngClass]="[collapsed ? 'fa-chevron-right' : 'fa-chevron-down']"></i>
</div>
<div class="ibox-content" *ngIf="!collapsed">
<ng-content select=".my-ibox-content"></ng-content>
</div>
</div>