UNPKG

wfw-ngx-formly

Version:

ngx-formly is an Angular 2 module which has a Components to help customize and render JavaScript/JSON configured forms. The formly-form Component and the FormlyConfig service are very powerful and bring unmatched maintainability to your application's form

18 lines (17 loc) 786 B
import { FormGroup, FormArray } from '@angular/forms'; import { FormlyFieldConfig, FormlyFormOptions } from '../components/formly.field.config'; /** * @internal */ export declare class FormlyFormExpression { checkFields(form: FormGroup | FormArray, fields: FormlyFieldConfig[], model: any, options: FormlyFormOptions): void; private _checkFields(form, fields, model, options); private checkFieldExpressionChange(form, field, model, options); private checkFieldVisibilityChange(form, field, model, options); private addFieldControl(parent, field, model); private getFieldModel(model, field); private getParentModel(model, field); private removeFieldControl(parent, field); private fieldParentFormControl(form, field); private fieldKey(field); }