flexygo.culture.eses.flexygo.storage.session Class
Library to call local storage session functions.
Constructor
flexygo.culture.eses.flexygo.storage.session
()
Methods
add
(
-
key
-
value
Method to add an element to Session Storage.
Parameters:
-
key
String- Element key.
-
value
String- element value.
clear
()
Method to clear Session Storage.
get
(
Object
-
key
-
value
Method to get an element from Session Storage.
Parameters:
-
key
String- Element key.
-
value
String- element value.
Returns:
Object:
- Object from session storage.
remove
(
-
key
-
value
Method to remove an element from Session Storage.
Parameters:
-
key
String- Element key.
-
value
String- element value.
reset
(
-
key
-
value
Method to remove a series of elements from Session Storage. Used on Applicaiton Init.
Parameters:
-
key
String- Element key.
-
value
String- element value.