Extends
Methods
# get(key) → (nullable) {String}
Return the item, identified by the key, from the storage. If the key does not exists in the storage, null will be returned.
Parameters:
Name | Type | Description |
---|---|---|
key |
String
|
keys |
values
String
# set(key, value)
Add or update an item to the localStorage.
Parameters:
Name | Type | Description |
---|---|---|
key |
String
|
|
value |
String
|
# unset(key)
Remove the item, identified by the key, from the storage.
Parameters:
Name | Type | Description |
---|---|---|
key |
String
|