storageProvider
Summary
Defines a storage provider to help store information. For now sessionStorage and localStorage are supported.
Item Index
Methods
addToStorage
Syntax
addToStorage
(
-
key
-
value
Summary
Adds information to the storage.
getFromStorage
Syntax
Summary
Gets information from storage using the given key.
Parameters:
-
key
StringThe key of the element to retrieve
Returns:
Object:
The stored value for the given key
removeFromStorage
Syntax
removeFromStorage
(
-
key
Summary
Removes a key from the storage.
Parameters:
-
key
StringThe key of the element to remove