I am using below code to check size of indexeddb
navigator.webkitTemporaryStorage.queryUsageAndQuota (
function(usedBytes, grantedBytes) {
console.log('we are using ', usedBytes, ' of ', grantedBytes, 'bytes');
},
function(e) { console.log('Error', e); }
);
But got error like Property webkitTemporaryStorage does not exist on type Navigator.
I am new to angular. can anyone pls help me solve this.
Thanks