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

23 lines
844 B
HTML
Raw Normal View History

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