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

11 lines (10 loc) 392 B
import { FormArray } from '@angular/forms'; import { FieldType } from './field.type'; import { FormlyFormBuilder } from '../services/formly.form.builder'; export declare abstract class FieldArrayType extends FieldType { private builder; formControl: FormArray; constructor(builder: FormlyFormBuilder); add(i?: number, initialModel?: any): void; remove(i: number): void; }