BrowserStorage class
new BrowserStorage(cacheLocation: string)
Parameters
- cacheLocation
-
string
function containsKey(key: string): boolean
Parameters
- key
-
string
Returns
boolean
function getItem(key: string): string | null
Parameters
- key
-
string
Returns
string | null
function getKeys(): string[]
Returns
string[]
function removeItem(key: string)
Parameters
- key
-
string
function setItem(key: string, value: string)
Parameters
- key
-
string
- value
-
string