Interface StorageManager

Available only in secure contexts.

MDN Reference

interface StorageManager {
    estimate(): Promise<StorageEstimate>;
    getDirectory(): Promise<FileSystemDirectoryHandle>;
    persist(): Promise<boolean>;
    persisted(): Promise<boolean>;
}

Methods

  • Returns Promise<boolean>

  • Returns Promise<boolean>