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

24 lines
1003 B
HTML
Raw Normal View History

2016-05-06 00:48:41 +03:00
<div #mobile class="mobile-nav" (click)="toggleMobileNav()">
2016-01-21 18:26:54 +03:00
<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>
2016-05-06 00:48:41 +03:00
<div #desktop id="resources-nav">
2016-07-26 12:03:15 +03:00
<h5 class="menu-header"> API reference </h5>
<div *ngFor="let cat of categories; let idx = index" class="menu-cat">
2015-11-26 22:39:23 +03:00
<label class="menu-cat-header" (click)="activateAndScroll(idx, -1)" [hidden]="cat.headless"
[ngClass]="{active: cat.active, disabled: !cat.ready && cat.methods.length}"> {{cat.name}}</label>
2016-08-22 12:12:13 +03:00
<ul class="menu-subitems" [@itemAnimation]="cat.active ? 'expanded' : 'collapsed'">
<li *ngFor="let method of cat.methods; trackBy:summary; let methIdx = index"
2016-11-23 02:23:32 +03:00
[ngClass]="{active: method.active, disabled: !method.ready}"
2016-01-21 18:26:54 +03:00
(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>