StorageManagerService

Provides access to the Storage Manager API for checking storage quotas and requesting persistent storage that is protected from automatic eviction.

TypeScriptexample.ts
import { StorageManagerService } from '@angular-helpers/browser-web-apis'

# Methods

MethodSignatureReturnsDescription
isSupportedisSupported(): booleanbooleanPublic method isSupported.
estimateestimate(): Promise<StorageQuotaEstimate>Promise<StorageQuotaEstimate>Public method estimate.
persistpersist(): Promise<boolean>Promise<boolean>Public method persist.
persistedpersisted(): Promise<boolean>Promise<boolean>Public method persisted.
LCP N/A
CLS N/A
INP N/A