This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
storageQuota property of the
Navigator interface of the Quota Management API provides means to query and request storage usage and quota information. You can get a reference to this interface using
- Returns a list of the available storage types.
- Returns a
StorageInfoobject containting the current data usage and available quota information for the application.
- Requests persistent storage for the requesting application and returns a
Promiseto an instance of
StorageInfo. There is no guarantee that the requested space will be granted by the user agent.
|Quota Management API
The definition of 'storageQuota' in that specification.
BCD tables only load in the browser