@webacad/ng-file-value-accessor
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

NPM version Build Status

WebACAD/NgFileValueAccessor

Angular form module which will give you the FileList from your <input type="file"> inputs.

Before you use

  1. Check angular issue: https://github.com/angular/angular/issues/7341
  2. If it's resolved, don't use this library

Dependencies

  • @angular/core
  • @angular/forms
  • rxjs

Installation

$ npm install --save @webacad/ng-file-value-accessor

or with yarn

$ yarna add @webacad/ng-file-value-accessor

Register module

import {NgModule} from '@angular/core';
import {FileValueAccessorModule} from '@webacad/ng-file-value-accessor';

@NgModule({
    imports: [
        FileValueAccessorModule,
    ],
})
export class AppModule {}

And profit!

/@webacad/ng-file-value-accessor/

    Package Sidebar

    Install

    npm i @webacad/ng-file-value-accessor

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    54.1 kB

    Total Files

    24

    Last publish

    Collaborators

    • davidkcz