mirror of
https://github.com/Redocly/redoc.git
synced 2024-12-11 09:29:12 +03:00
10 lines
334 B
HTML
10 lines
334 B
HTML
<div class="zippy zippy-{{type}}" [ngClass]="{'zippy-empty': empty}">
|
|
<div class="zippy-title" (click)="toggle()">
|
|
<span class="zippy-indicator">{{ visible ? '▾' : '▸' }}</span>
|
|
{{title}}
|
|
</div>
|
|
<div class="zippy-content" [ngClass]="{'zippy-hidden': !visible}">
|
|
<ng-content></ng-content>
|
|
</div>
|
|
</div>
|