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

12 lines
393 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>
2016-06-19 17:41:04 +03:00
<div class="zippy-content" @openClose="visible ? 'expanded' : 'collapsed'">
<div class="zippy-content-wrap">
<ng-content></ng-content>
</div>
2015-11-23 23:57:10 +03:00
</div>
</div>