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

10 lines
363 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()">
{{title}}
<span class="zippy-indicator"> {{ visible ? '&blacktriangledown;' : '&blacktriangleright;' }} </span>
</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>