mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-24 17:43:45 +03:00
23 lines
844 B
HTML
23 lines
844 B
HTML
<div class="mobile-nav" (click)="toggleMobileNav()">
|
|
<span class="menu-header"> API Reference: </span>
|
|
<span class="selected-item-info">
|
|
<span class="selected-tag"> {{activeCatCaption}} </span>
|
|
<span class="selected-endpoint">{{activeItemCaption}}</span>
|
|
</span>
|
|
</div>
|
|
<div id="resources-nav">
|
|
<h5 class="menu-header"> API reference </h5>
|
|
<div *ngFor="var cat of data.menu; #idx = index" class="menu-cat">
|
|
|
|
<label class="menu-cat-header" (click)="activateAndScroll(idx, -1)" [ngClass]="{active: cat.active}"> {{cat.name}}</label>
|
|
<ul class="menu-subitems" [ngClass]="{active: cat.active}">
|
|
<li *ngFor="var method of cat.methods; var methIdx = index"
|
|
[ngClass]="{active: method.active}"
|
|
(click)="activateAndScroll(idx, methIdx)">
|
|
{{method.summary}}
|
|
</li>
|
|
</ul>
|
|
|
|
</div>
|
|
</div>
|