mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-23 17:13:44 +03:00
14 lines
511 B
HTML
14 lines
511 B
HTML
<h2 class="menu-header"> Api reference </h2>
|
|
<div *ng-for="var cat of data.menu; #idx = index" class="menu-cat">
|
|
|
|
<label class="menu-cat-header" (click)="activateAndScroll(idx, -1)" [ng-class]="{active: cat.active}"> {{cat.name}}</label>
|
|
<ul class="menu-subitems" [ng-class]="{active: cat.active}">
|
|
<li *ng-for="var method of cat.methods; var methIdx = index"
|
|
[ng-class]="{active: method.active}"
|
|
(click)="activateAndScroll(idx, methIdx)">
|
|
{{method.summary}}
|
|
</li>
|
|
</ul>
|
|
|
|
</div>
|