UNPKG

bia-framework

Version:

Bia Framework to work with angular 2

23 lines (22 loc) 900 B
import { AfterContentInit, EventEmitter } from "@angular/core"; import { InternalControl } from "./InternalControl"; import { CoreForm } from "./core-form/core-form.component"; export declare class CoreFormControlBase implements AfterContentInit { private formHost; isProcessing: boolean; name: string; bind: Object; bindChange: EventEmitter<Object>; controlValidators: Array<any>; validationList: Array<ValidationMessage>; control: InternalControl; ngAfterContentInit(): any; setupBind: (_name: string, _bind: Object, _bindChange: EventEmitter<Object>) => void; constructor(formHost?: CoreForm); OnFocus: () => void; OnBlur: () => void; OnChange: (a: any) => void; isInForm: () => boolean; addFormValidator: (validationDesc: ValidationMessage, validator: any) => void; controlValueChange: (v: any) => void; }