UNPKG

ngx-schema-forms

Version:

New features: - Ajv schema validator. - Angular forms compatible: Property tree is created using FormGroup, FormArray and FormControl classes. - Array now properly loads initial data from model. - WidgetTyep: WidgetRegistry now supports WidgetType, now wo

11 lines (10 loc) 423 B
import { AfterViewInit } from '@angular/core'; import { FormControl } from '@angular/forms'; import { PropertyWidget, Widget } from './widget'; export declare abstract class FileWidget<T extends Widget = Widget> extends PropertyWidget<T> implements AfterViewInit { protected reader: FileReader; protected filedata: any; fileName: FormControl; ngAfterViewInit(): void; onFileChange($event: any): void; }