UNPKG

@bi8/am-dyn-form

Version:

ng update @angular/cli yarn add @angular/cli

26 lines (25 loc) 701 B
import { FormGroup, AbstractControl } from "@angular/forms"; import { OperatorFunction, Observable } from "rxjs"; export interface FilterFn { (value: any): boolean; } export interface MapFn { (value: any): any; } export declare class DynFormGroup extends FormGroup { key: string; dir: string; config: any; constructor(options: { key?: string; dir?: string; }, controls: { [key: string]: AbstractControl; }); addSlaveObserver(master: string, slave: string, options?: { apply?: boolean; disable?: boolean; reset?: boolean; ops?: OperatorFunction<any, any>[]; }): Observable<any>; }