ngx-upload icon indicating copy to clipboard operation
ngx-upload copied to clipboard

Implement folder upload

Open banksemi opened this issue 5 years ago • 1 comments

Folder uploading was only applied to NgxDragAndDropDirective.

It does not work in IE because of limitations of web browsers.

Users need to setting DroptargetOptions.folderAccept

export const ngxDropTargetOptions: DropTargetOptions = {
    color: 'dropZoneColor',
    colorDrag: 'dropZoneColorDrag',
    colorDrop: 'dropZoneColorDrop',
    multiple: true,
    folderAccept: true
};
  1. If you want to get path of file, use item.filePath
var item : FileItem = ...
console.log(item.filePath);

banksemi avatar Jul 26 '19 04:07 banksemi

I have reviewed this PR but it's not TypeScript friendly. I keep in mind the idea and work out on it in the coming weeks

wKoza avatar Jul 29 '19 13:07 wKoza