Class Storage
Implements
- StorageProvider
Constructors
constructor
-
Parameters
- options: StorageOptions
Returns Storage
Properties
indexed
local
LocalStorage interface
persisted
persisted: boolean | undefined
Whether the browser promised not to evict this origin's storage: undefined until it has answered (or when it cannot say)
session
SessionStorage interface
Accessors
db
-
Get the IndexedDB database instance
Returns IDBDatabase | null
Methods
usage
-
Get storage usage
Returns Promise<StorageEstimate | null>
IndexedDB interface