Storage () documon/template/assets/js/documon/Storage.js 16
xpath gieson.Storage
file documon/template/assets/js/documon/Storage.js

Set/Get convienence methods for localStorage.

Methods
getStore (name) documon/template/assets/js/documon/Storage.js 44

Retrieves an item from browser's local storage.

Parameters
name
string

The name of the "thing" you want to get.

Returns any

The stored data

setStore (name, val) documon/template/assets/js/documon/Storage.js 26

Stores data. Can store string, number, boolean and objects.

Parameters
name
string

The name of the "thing" to store. (We use this to get it out later)

val
any

The actual thing to store.