UNPKG

govuk-angular

Version:

Angular components port of govuk-frontend nunjucks macros.

22 lines (21 loc) 983 B
import { GovUKComponent } from '../data-capture.component'; import { ErrorMessage } from '../error/error-message.model'; import { Hint } from '../hint/hint'; import { Label } from '../label/label'; import * as i0 from "@angular/core"; /** * The Field template is a common template for field type inputs. * The template includes the Hint Label and ErrorMessage common to a number * of component, including, govuk-input, govuk-select and govuk-input-group */ export declare class GovUKFieldComponent implements GovUKComponent { id: string; name: string; classes: string; hint: Hint; errorMessage: ErrorMessage; label: Label; hasHint: () => boolean; static ɵfac: i0.ɵɵFactoryDeclaration<GovUKFieldComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<GovUKFieldComponent, "govuk-field", never, { "id": "id"; "name": "name"; "classes": "classes"; "hint": "hint"; "errorMessage": "errorMessage"; "label": "label"; }, {}, never, ["*"]>; }