KristofferStrube / Blazor.FileSystemAccess

A Blazor wrapper for the File System Access browser API.
https://kristofferstrube.github.io/Blazor.FileSystemAccess/
MIT License
327 stars 39 forks source link

Feature: Recently used directory #17

Closed fixnil closed 2 years ago

fixnil commented 2 years ago

Hello,

Thanks for your great effort!

I'm working on something interesting with your project, but I'm having a problem right now.

I want to get the recently used path or save the Handle, but I can't find the corresponding API. Is there any way?

Thanks again for your dedication!

KristofferStrube commented 2 years ago

Hey @fixnil,

Thanks for your interest in the project. 😊

This article talks about the API in general. They also present this sample app that handles a list of recently opened files.

They keep track of the files using IndexedDB which can keep key-value pairs without serializing like in LocalStorage.

Hope that helps your search.