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

23 lines
886 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-03-02 22:48:55 +03:00
<h5 class="menu-header"> API reference </h5>
2016-04-29 22:57:24 +03:00
<div *ngFor="let cat of data.menu; let 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>
2016-06-19 17:41:04 +03:00
<ul class="menu-subitems" @itemAnimation="cat.active ? 'expanded' : 'collapsed'">
2016-04-29 22:57:24 +03:00
<li *ngFor="let method of cat.methods; let methIdx = index"
2016-01-21 18:26:54 +03:00
[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>