redoc/lib/shared/components/Zippy/zippy.html
2016-05-06 00:48:41 +03: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>