redoc/lib/shared/components/Zippy/zippy.html
2016-06-19 17:51:06 +03:00

12 lines
393 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" @openClose="visible ? 'expanded' : 'collapsed'">
<div class="zippy-content-wrap">
<ng-content></ng-content>
</div>
</div>
</div>