mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-23 17:13:44 +03:00
14 lines
876 B
HTML
14 lines
876 B
HTML
<li *ngFor="let item of items; let idx = index" class="menu-item"
|
|
ngClass="menu-item-depth-{{item.depth}} {{item.active ? 'active' : ''}} menu-item-for-{{item.metadata?.type}}">
|
|
<label class="menu-item-header" [ngClass]="{disabled: !item.ready}" (click)="activateItem(item)">
|
|
<span class="operation-type" [ngClass]="item?.metadata?.operation" *ngIf="item?.metadata?.operation"> {{item?.metadata?.operation}} </span><!--
|
|
--><span class="menu-item-title">{{item.name}}</span>
|
|
<svg *ngIf="item.items?.length" xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve">
|
|
<polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "/>
|
|
</svg>
|
|
</label>
|
|
<ul *ngIf="item.items" class="menu-subitems">
|
|
<side-menu-items [items]="item.items" (activate)="activateItem($event)"> </side-menu-items>
|
|
</ul>
|
|
</li>
|