redoc/lib/common/components/Zippy/zippy.html

10 lines
334 B
HTML
Raw Normal View History

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