redoc/lib/components/SideMenu/side-menu.html

14 lines
494 B
HTML
Raw Normal View History

<h2 class="menu-header"> Api reference </h2>
2015-11-26 22:39:23 +03:00
<div *ng-for="var cat of data.menu; #idx = index">
<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>
2015-10-15 20:06:16 +03:00
</div>