redoc/lib/common/components/Zippy/zippy.html
2015-11-23 22:57:10 +02:00

10 lines
343 B
HTML

<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>
<div class="zippy-content" [hidden]="!visible">
<ng-content></ng-content>
</div>
</div>