0.1.0 • Published 7 years ago
@webacad/ng-file-value-accessor v0.1.0
WebACAD/NgFileValueAccessor
Angular form module which will give you the FileList from your <input type="file"> inputs.
Before you use
- Check angular issue: https://github.com/angular/angular/issues/7341
- If it's resolved, don't use this library
Dependencies
@angular/core@angular/formsrxjs
Installation
$ npm install --save @webacad/ng-file-value-accessoror with yarn
$ yarna add @webacad/ng-file-value-accessorRegister module
import {NgModule} from '@angular/core';
import {FileValueAccessorModule} from '@webacad/ng-file-value-accessor';
@NgModule({
imports: [
FileValueAccessorModule,
],
})
export class AppModule {}And profit!