redoc/lib/components/SideMenuCat/side-menu-cat.html
2015-10-30 10:26:23 +02:00

9 lines
300 B
HTML

<label (click)="expandCat()" [ng-class]="{active: data.active}"> {{data.name}}</label>
<ul [ng-class]="{active: data.active}">
<li *ng-for="var method of data.methods; var idx = index"
[ng-class]="{active: method.active}"
(click)="activateMethod(idx)">
{{method.summary}}
</li>
</ul>