2.0.8 • Published 7 years ago
ngx-filedropper v2.0.8
ngx-filedropper
This library provides a component for dragging + dropping files using the HTML 5 file upload API.
The component is stable and usable,and a more configurable directive will be released soon.
Installation
To install this library, run:
$ npm install ngx-filedropper --save
Usage
Import the NgxFiledropperModule
into your module of choice:
import { NgxFiledropperModule } from "ngx-filedropper";
@NgModule({
imports: [
NgxFiledropperModule,
]
})
Once imported, simply use the component's template in your template's HTML:
<app-filedrop></app-filedrop>
Development
To generate all *.js
, *.d.ts
and *.metadata.json
files:
$ npm run build
and then
$ npm run copyassets
To lint all *.ts
files:
$ npm run lint
License
MIT © Harrison Evans