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.39k stars 85 forks source link

Implement `cancel` event in legacy code #153

Open tomayac opened 6 months ago

tomayac commented 6 months ago

https://github.com/GoogleChromeLabs/browser-fs-access/blob/fdab32326a035cde845591cc33937655fa2da902/src/legacy/file-open.mjs#L47

tomayac commented 6 months ago

https://github.com/GoogleChromeLabs/browser-fs-access/blob/fdab32326a035cde845591cc33937655fa2da902/src/legacy/directory-open.mjs#L40

tomayac commented 5 months ago

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#detecting_cancellations