mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-30 12:33:43 +03:00
9 lines
300 B
HTML
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>
|