govuk-angular
Version:
Angular components port of govuk-frontend nunjucks macros.
18 lines (17 loc) • 774 B
TypeScript
import { QueryList, ElementRef } from '@angular/core';
import { Router } from '@angular/router';
import { GovUKNavComponent } from './nav.component';
import * as i0 from "@angular/core";
export declare class GovUKNavBarComponent {
router: Router;
el: ElementRef;
id: string;
navs: QueryList<GovUKNavComponent>;
constructor(router: Router, el: ElementRef);
onClick($event: Event, nav: GovUKNavComponent, id: string): void;
createId(choice: string): string;
setFocus(id: string): void;
selectNav(navCurrent: GovUKNavComponent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<GovUKNavBarComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<GovUKNavBarComponent, "govuk-navbar", never, { "id": "id"; }, {}, ["navs"], never>;
}