14 lines
595 B
HTML
14 lines
595 B
HTML
<!-- All contents in the first page -->
|
|
<a (click)="scrollToId(model.id,page)">{{path+' '+model.title}}</a>
|
|
|
|
<ul>
|
|
<li *ngFor="let groupModel of model.fieldGroups let i = index">
|
|
<table-of-contents-group [page]='page' [model]="groupModel" [index]="i" [path]="path+'.'+(i+1)"> </table-of-contents-group>
|
|
</li>
|
|
</ul>
|
|
<!-- All contents in the first page -->
|
|
<ul>
|
|
<li *ngFor="let sectionModel of model.sections let i = index">
|
|
<table-of-contents-section [page]='page' [model]="sectionModel" [index]="i" [path]="path+'.'+(i+1)"> </table-of-contents-section>
|
|
</li>
|
|
</ul> |