0.2.7 • Published 5 years ago

drag-drop-file v0.2.7

Weekly downloads
12
License
MIT
Repository
-
Last release
5 years ago

Upload file using drag-drop

drag-drop-file implementation for get file on drag-drop as well as select file

This module works with angular 7.x

##DEMO You can check the DEMO here

Installation

npm i drag-drop-file

Usage

Module:

Import DragDropFileModule module in your module

import { DragDropFileModule } from 'drag-drop-file'

@NgModule({
  imports: [ DragDropFileModule ]
})

Component

  1. Component html file
<lib-drag-drop-file (filesDropped)="drop($event)" [lable]="'Upload file'" ></lib-drag-drop-file>
  1. Component ts file
 drop(files) {
    console.log(files, '>>>>>>>>>>>') //file list
  }
}


## License

MIT
0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago