UNPKG

moh-common-lib

Version:

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

23 lines (22 loc) 841 B
import { OnInit, EventEmitter } from '@angular/core'; import { ControlValueAccessor, NgControl } from '@angular/forms'; import { AbstractFormControl } from '../../models/abstract-form-control'; import { ErrorMessage } from '../../models/error-message.interface'; export declare class CityComponent extends AbstractFormControl implements OnInit, ControlValueAccessor { controlDir: NgControl; label: string; maxlength: string; labelforId: string; placeholder: string; required: boolean; value: string; valueChange: EventEmitter<string>; blur: EventEmitter<any>; city: string; _defaultErrMsg: ErrorMessage; constructor(controlDir: NgControl); ngOnInit(): void; onValueChange(value: string): void; onBlur(event: any): void; writeValue(value: string): void; }