mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-24 01:23:43 +03:00
11 lines
728 B
HTML
11 lines
728 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>
|
|
</label>
|
|
<ul *ngIf="item.items" class="menu-subitems" [@itemAnimation]="(item.active || item.isGroup) ? 'expanded' : 'collapsed'">
|
|
<side-menu-items [items]="item.items" (activate)="activateItem($event)"> </side-menu-items>
|
|
</ul>
|
|
</li>
|