redoc/lib/common/components/Zippy/zippy.html
2016-01-12 01:36:49 +02:00

10 lines
334 B
HTML

<div class="zippy zippy-{{type}}" [ngClass]="{'zippy-empty': empty}">
<div class="zippy-title" (click)="toggle()">
<span class="zippy-indicator">{{ visible ? '&#9662;' : '&#9656;' }}</span>
{{title}}
</div>
<div class="zippy-content" [ngClass]="{'zippy-hidden': !visible}">
<ng-content></ng-content>
</div>
</div>