Liking cljdoc? Tell your friends :D

web.storage.StorageQuota

The storageQuota property of the web.performance.Navigator of the Quota Management API provides means to query and request usage and quota information.

The storageQuota property of the `web.performance.Navigator`
of the Quota Management API provides means to query and request
usage and quota information.
raw docstring

query-infocljs

(query-info this & args)

Method.

[Experimental]

The queryInfo() property of the web.storage.StorageQuota interface a StorageInfo object containting the current data usage and quota information for the application.

StorageQuota.queryInfo().then(function(storageInfo) { ... })

See also: https://developer.mozilla.org/en-US/docs/Web/API/StorageQuota/queryInfo

Method.

[Experimental]

The queryInfo() property of the `web.storage.StorageQuota` interface
a `StorageInfo` object containting the current data usage and
quota information for the application.

`StorageQuota.queryInfo().then(function(storageInfo) { ... })`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/StorageQuota/queryInfo`
sourceraw docstring

request-persistent-quotacljs

(request-persistent-quota this & args)

Method.

[Experimental]

The requestPersistentQuota() property of the web.storage.StorageQuota requests persistent storage for the requesting application and a js.Promise to an instance of StorageInfo.

StorageQuota.requestPersistentQuota().then(function(storageInfo) { ... })

See also: https://developer.mozilla.org/en-US/docs/Web/API/StorageQuota/requestPersistentQuota

Method.

[Experimental]

The requestPersistentQuota() property of the `web.storage.StorageQuota`
requests persistent storage for the requesting application and
a `js.Promise` to an instance of `StorageInfo`.

`StorageQuota.requestPersistentQuota().then(function(storageInfo) { ... })`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/StorageQuota/requestPersistentQuota`
sourceraw docstring

supported-typescljs

(supported-types this)

Property.

[Read Only] [Experimental]

The supportedTypes read-only property of the web.storage.StorageQuota returns a list of the available storage types.

var storageTypes = StorageQuota.supportedTypes

See also: https://developer.mozilla.org/en-US/docs/Web/API/StorageQuota/supportedTypes

Property.

[Read Only]
[Experimental]

The supportedTypes read-only property of the `web.storage.StorageQuota`
returns a list of the available storage types.

`var storageTypes = StorageQuota.supportedTypes`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/StorageQuota/supportedTypes`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close