UNPKG

moh-common-lib

Version:

A library of Angular components, services, and styles for B.C. Government Ministry of Health (MoH).

26 lines (25 loc) 912 B
import { OnInit } from '@angular/core'; import { Router } from '@angular/router'; /** * HeaderComponent is the stylized blue header at the top of every single * application. It has a built-in "Skip to Content" tab-accessible section * that's best practice for screen readers. **You must create an element with * `id='content'` for this to work!** Best practice is to put this "content" * element as a wrapper aroud your `<router-outlet>` * */ export declare class HeaderComponent implements OnInit { private router; serviceName: string; urlBaseName: string; logoSrc: string; shouldShowPrintLogo: boolean; printLogoSrc: string; skipLinkPath: any; private SKIP_CONTENT_HASH; constructor(router: Router); ngOnInit(): void; routeIsActive(url: string): boolean; updateSkipContentLink(): void; private generateSkipToContentLink; }