govuk-angular
Version:
Angular components port of govuk-frontend nunjucks macros.
16 lines (15 loc) • 706 B
TypeScript
import { ElementRef, OnChanges } from '@angular/core';
import { ErrorMessage } from './error/error-message.model';
import * as i0 from "@angular/core";
export declare class GovErrorLineDirective implements OnChanges {
el: ElementRef;
govukErrorLine: ErrorMessage;
constructor(el: ElementRef);
ngOnChanges(changes: import('@angular/core').SimpleChanges): void;
/**
* @description Toggle the error class on the input element
*/
toggleError(): any;
static ɵfac: i0.ɵɵFactoryDeclaration<GovErrorLineDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<GovErrorLineDirective, "[govukErrorLine]", never, { "govukErrorLine": "govukErrorLine"; }, {}, never>;
}