Currently, I have implemented the following code snippet in order to monitor the size of indexeddb
navigator.webkitTemporaryStorage.queryUsageAndQuota (
function(usedBytes, grantedBytes) {
console.log('we are using ', usedBytes, ' of ', grantedBytes, 'bytes');
},
function(e) { console.log('Error', e); }
);
Unfortunately, an error occurred stating that Property webkitTemporaryStorage
does not exist on type Navigator
.
Given that I am relatively new to angular development, I would greatly appreciate if someone could assist me in resolving this issue.
Thank you