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

29 lines (28 loc) 1.32 kB
import { OnInit, OnChanges, EventEmitter, OnDestroy, ViewContainerRef, ComponentFactoryResolver, SimpleChanges, DoCheck, AfterContentInit, AfterContentChecked, AfterViewInit, AfterViewChecked } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { FormlyConfig } from '../services/formly.config'; import { FormlyFieldConfig, FormlyFormOptions } from './formly.field.config'; export declare class FormlyField implements OnInit, OnChanges, DoCheck, AfterContentInit, AfterContentChecked, AfterViewInit, AfterViewChecked, OnDestroy { private formlyConfig; private componentFactoryResolver; model: any; form: FormGroup; field: FormlyFieldConfig; options: FormlyFormOptions; modelChange: EventEmitter<any>; fieldComponent: ViewContainerRef; private componentRefs; constructor(formlyConfig: FormlyConfig, componentFactoryResolver: ComponentFactoryResolver); ngAfterContentInit(): void; ngAfterContentChecked(): void; ngAfterViewInit(): void; ngAfterViewChecked(): void; ngDoCheck(): void; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; private createFieldComponent(); private createComponent(fieldComponent, component); private readonly lifecycle; private lifeCycleHooks(callback); }