captainbrosset / file-handling-demo

A demo app showing all of the ways files can be opened or saved on the web

Home Page:https://cranky-shaw-fe95e8.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use the file handle when drag and dropping

captainbrosset opened this issue · comments

Using DataTransferItem.getAsFileSystemHandle() it is possible to get a file handle and use it to save changes back to disk. This means that it should be possible to do this with drag/dropped files too (pasting files works similarly, is it possible to get a handle this way too?).