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
@
Component
- Component html file
<lib-drag-drop-="drop($event)" lable="'Upload file'" ></lib-drag-drop-file>
- Component ts file
{ console //file list }} ## License MIT