UNPKG

@docgeni/template

Version:

Docgeni - Angular Template Components

27 lines 1.23 kB
import { OnDestroy, OnInit } from '@angular/core'; import { LocationStrategy } from '@angular/common'; import { ActivatedRoute, Router } from '@angular/router'; import { GlobalContext } from '../../services/global-context'; import { TocLink, TocService } from '../../services/toc.service'; import * as i0 from "@angular/core"; export declare class TableOfContentsComponent implements OnInit, OnDestroy { private router; private route; private locationStrategy; tocService: TocService; isToc: boolean; container: string; links: TocLink[]; activeLink: TocLink; rootUrl: string; hideToc: boolean; private destroyed; private urlFragment; constructor(router: Router, route: ActivatedRoute, global: GlobalContext, locationStrategy: LocationStrategy, tocService: TocService); ngOnInit(): void; ngOnDestroy(): void; onLinkClick($event: Event, link: TocLink): void; static ɵfac: i0.ɵɵFactoryDeclaration<TableOfContentsComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TableOfContentsComponent, "dg-toc", never, { "container": { "alias": "container"; "required": false; }; }, {}, never, never, false, never>; } //# sourceMappingURL=toc.component.d.ts.map