GoogleChromeLabs / browser-fs-access

File System Access API with legacy fallback in the browser
https://googlechromelabs.github.io/browser-fs-access/demo/
Apache License 2.0
1.37k stars 82 forks source link

pass handle in filePickerShown callback #116

Closed tclangv closed 2 years ago

tclangv commented 2 years ago

I need the name of the file handle, which the user has entered, before the file writing is complete. Currently the handle is only returned upon completion, but it is actually available right after the file picker was shown.

Even though I don't need the whole handle, only the file name, I return the handle in case it might be useful to others at some point.

tomayac commented 2 years ago

Released as v0.30.1. Thanks!