<div *ngIf="links?.length" class="docs-toc-container">
	<!-- <div class="docs-toc-heading">Contents</div> -->
	<!-- <nav> -->
	<!-- <a [href]="_rootUrl + '#' + link.id" -->
	<div class="scroll-container">
		<span *ngFor="let link of links; let i = index" (click)="toggle(link); goToStep(link)" class="docs-level-{{link.type}} docs-link mt-0" [class.docs-active]="link.active">
			<span *ngIf="link.show" class="link-name"><span [class.selected]="link.selected && isActive">{{link.name}}</span></span>
		</span>
		<!-- </nav> -->
	</div>
</div>

<!-- 
<ng-container *ngIf="tocentries">
	
	<div class="internal-table-outer col-12">
		<table-of-contents-internal [tocentries]="tocentries"
		(entrySelected)="onToCentrySelected($event)"
		[selected]="tocentrySelected"
		
		>
	
		</table-of-contents-internal>
	</div>
</ng-container> -->

<div *ngIf="tocentries" class="docs-toc-container">
	
	<div class="scroll-container col-12 internal-table">
		<table-of-contents-internal [TOCENTRY_ID_PREFIX]="TOCENTRY_ID_PREFIX" [tocentries]="tocentries"
		[showErrors]="showErrors"
		(entrySelected)="onToCentrySelected($event)"
		[selected]="tocentrySelected"
		
		>
	
		</table-of-contents-internal>
	</div>
</div>