LocalStorage Class
Utils to access the browser local storage.
Methods
delete
(
static
-
key
Delete a key from the local storage.
Parameters:
-
keyString
exists
(
Boolean
static
-
key
Check if a key exists in the local storage.
Parameters:
-
keyString
Returns:
Boolean:
True if the key exists false otherwise.
get
(
Object
static
-
key
Get value from the local storage.
Parameters:
-
keyString
Returns:
Object:
Value obtained from the storage.
set
(
static
-
key -
value
Store value in the local storage.
Parameters:
-
keyString -
valueObject
