
Description
ngx-file-drop is an Angular module for dragging files and folders from the desktop onto a web page. You import the module into your app, then place a drop zone in a template with event bindings for files dropped, files hovered over the zone and files leaving it. It can filter the accepted formats, accept directories, show a custom label and style classes, display a browse button with its own label, disable the zone conditionally, and accept single or multiple files. The useDragEnter option switches to the dragenter event instead of dragover. The README states that the library does not need rxjs-compat and relies on the HTML5 File API, so Internet Explorer is not supported. It describes an Angular 11 build, and says that older Angular versions are covered by older releases. The repository links a demo, a changelog and the MIT licence.…
Highlights
- Drag and drop files and folders from the desktop
- Accepted-format filter and directory support
- Custom labels, style classes and browse button
- Single or multiple file selection
- No rxjs-compat dependency
Ratings & Reviews
No ratings yet
Be the first to rate @georgipeltekov/ngx-file-drop.
People also visit
react-dropzone-uploader
React file dropzone and uploader: fully customizable, progress indicators
@georgipeltekov/ngx-file-drop FAQ
What is ngx-file-drop?
An Angular module that adds a drop zone for files and folders dragged from your desktop.
Which Angular versions does it support?
The README describes an Angular 11 build and says the library does not need rxjs-compat. For older Angular support, use older versions.
Does it work in Internet Explorer?
No. The README says it relies on the HTML5 File API, so IE is not supported.
Can I limit which files are accepted?
Yes. The accept parameter takes a string of formats such as .png, and the directory parameter controls whether folders are accepted.
What license applies?
MIT.
What are the best @georgipeltekov/ngx-file-drop alternatives?
Popular alternatives to @georgipeltekov/ngx-file-drop include ngx-drag-drop, ng-dnd and ng2-file-upload. See all @georgipeltekov/ngx-file-drop alternatives


















