Drag and Drop of Directories

In 2018, Elm got support for Files from HTML drop events. This enabled us to work with the contents of a File, upload it elsewhere or read the content into their program.

But the Web platform has not stood still and you can now drop directories on to your browser window. Unfortunately support for this is still pending, but there is a work around.

9 Likes

Awesome, I will for sure use these techniques in the future. Thanks for sharing.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.