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

12 lines
457 B
HTML

<div class="ibox">
<div class="ibox-title">
<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']"
(click)="collapsed = !collapsed"></i>
</div>
<div class="ibox-content" *ngIf="!collapsed">
<ng-content select=".my-ibox-content"></ng-content>
</div>
</div>