class StorageManager
package js.html
The StorageManager
interface of the the Storage API provides an interface for managing persistance permissions and estimating available storage. You can get a reference to this interface using either navigator.storage
or WorkerNavigator.storage
.
Documentation StorageManager by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
Methods
estimate():Promise<StorageEstimate>
Returns a StorageEstimate
object containing usage and quota numbers for your origin.
Throws:
null | DOMError |
---|