6
Views
0
Comments
[ResumableJS] Support browsing for files
Forge component by Vincent Koning
1
Published on 17 Oct 2020
Application Type
Reactive

Hi man, great component and great demo app!

I was wondering why not support browsing for a file? I don't know if the library just added this option, but from ResumableJS:

"To allow files to be either selected and drag-dropped, you’ll assign drop target and a DOM item to be clicked for browsing: 

r.assignBrowse(document.getElementById('browseButton')); r.assignDrop(document.getElementById('dropTarget'));"

With assignBrowser we could allow the user to click a button/link to browse for files so the UI is not tied up with a drag and drop box and can be used in mobile use case scenarios for example.

Regards,

Leandro Oliveira