redoc/lib/common/components/Zippy/zippy.html
2015-12-14 17:20:40 +02:00

10 lines
326 B
HTML

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