UNPKG

@ng-doc/app

Version:

<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>

15 lines (14 loc) 892 B
import { ElementRef, Renderer2 } from '@angular/core'; import { IsActiveMatchOptions, Router } from '@angular/router'; import * as i0 from "@angular/core"; export declare class NgDocRouteActiveDirective { private readonly elementRef; private readonly router; private readonly renderer; link: string; activeClass: string | string[]; matchOptions: IsActiveMatchOptions; constructor(elementRef: ElementRef<HTMLElement>, router: Router, renderer: Renderer2); static ɵfac: i0.ɵɵFactoryDeclaration<NgDocRouteActiveDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocRouteActiveDirective, "[ngDocRouteActive]", never, { "link": { "alias": "ngDocRouteActive"; "required": false; }; "activeClass": { "alias": "activeClass"; "required": false; }; "matchOptions": { "alias": "matchOptions"; "required": false; }; }, {}, never, never, true, never>; }