Namespace: sessionStorage

jMod.API. sessionStorage

Shim for interacting with sessionStorage

Members

staticjMod.API.sessionStorage.storobject

Getter function that retrieves the sessionStorage object

Methods

staticjMod.API.sessionStorage.deleteValue(key)

F:/Projects/jMod/main/bin/jMod.full.js, line 4295
Name Type Description
key string name to be deleted

staticjMod.API.sessionStorage.getJSON(key, def)

F:/Projects/jMod/main/bin/jMod.full.js, line 4279
Name Type Description
key string name
def object optional default value to return if key does not exist

staticjMod.API.sessionStorage.getValue(key, def)

F:/Projects/jMod/main/bin/jMod.full.js, line 4243
Name Type Description
key string name
def string | boolean | number optional default value to return if key does not exist

staticjMod.API.sessionStorage.setJSON(key, value)

F:/Projects/jMod/main/bin/jMod.full.js, line 4262
Name Type Description
key string name
value object optional value to be set

staticjMod.API.sessionStorage.setValue(key, value)

F:/Projects/jMod/main/bin/jMod.full.js, line 4253
Name Type Description
key string name
value string | boolean | number optional value to be set