Working with folders

It looks like you’d need to use HTMLInputElement.webkitdirectory - Web APIs | MDN and it’s associated property for retrieving the file list. Would likely be easiest to make a tiny custom element that relays the entries as an event.

Word of caution though, this doesn’t work with all browsers.

2 Likes