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

10 lines
361 B
HTML
Raw Normal View History

2015-11-23 23:57:10 +03:00
<div class="zippy zippy-{{type}}" [ng-class]="{'zippy-empty': empty}">
<div class="zippy-title" (click)="toggle()">
2015-11-29 21:04:21 +03:00
<span class="zippy-indicator">{{ visible ? '&blacktriangledown;' : '&blacktriangleright;' }}</span>
2015-11-23 23:57:10 +03:00
{{title}}
</div>
2015-11-24 01:08:11 +03:00
<div class="zippy-content" [ng-class]="{'zippy-hidden': !visible}">
2015-11-23 23:57:10 +03:00
<ng-content></ng-content>
</div>
</div>