-
The UploadDropzone has a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@A-Baji The html-dir-content library isnt used by the upload-button package. There's usually no need for that. You can get the list of files in various ways using Uploady's API. Hopefully this helps. |
Beta Was this translation helpful? Give feedback.
@A-Baji The html-dir-content library isnt used by the upload-button package. There's usually no need for that.
Notice that when you use the
webkitdirectory
flag for the file input element, you do get thewebkitRelativePath
property in all browsers (at least chrome & firefox) per the spec.You can get the list of files in various ways using Uploady's API.
One way is the file filter method
Another can be the useBatchAddListener hook, and then inspecting the
batch.items
array.Hopefully this helps.