UNPKG

@ngx-formly/core

Version:

Formly is a dynamic (JSON powered) form library for Angular that bring unmatched maintainability to your application's forms.

8 lines (7 loc) 614 B
import { AbstractControl } from '@angular/forms'; import { FormlyFieldConfigCache } from '../../models'; export declare function unregisterControl(field: FormlyFieldConfigCache, emitEvent?: boolean): void; export declare function findControl(field: FormlyFieldConfigCache): AbstractControl; export declare function registerControl(field: FormlyFieldConfigCache, control?: FormlyFieldConfigCache['formControl'], emitEvent?: boolean): void; export declare function updateValidity(c: AbstractControl, onlySelf?: boolean): void; export declare function clearControl(form: FormlyFieldConfigCache['formControl']): void;