Limited availability
Note: See StorageManager.getDirectory()
to understand usage.
None.
Return valueA Promise
that fulfills with an unpartitioned FileSystemDirectoryHandle
object.
SecurityError
DomException
Thrown if access was not granted.
See StorageManager.getDirectory()
document.requestStorageAccess({ getDirectory: true }).then(
(handle) => {
console.log("getDirectory access granted");
await handle.getDirectory();
},
() => {
console.log("getDirectory access denied");
},
);
Note: See Using the Storage Access API for a more complete example.
Specifications Browser compatibility See alsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4