dimanche 19 septembre 2021

How do you get the selected directory path from file system access api window.showDirectoryPicker()

When I choose a folder I do get a dirHandle but cannot figure out what property or method will give me the full path

const dirHandle = await window.showDirectoryPicker()

So something like let path = dirHandle.fullpath

Any ideas?




Aucun commentaire:

Enregistrer un commentaire