Usage
API
getLocalStorage
Name | Default | Description |
---|---|---|
key | The key that the value is saved under | |
defaultValue | The default value to return if the key does not exist in localStorage |
setLocalStorage
Name | Default | Description |
---|---|---|
key | The key to save the value under | |
value | The value to save in localStorage |