Class LocalStoreConstructor
LocalStore is an Emily's Store that can be synchronized with localStorage
Synchronize the store, reload your page/browser and resynchronize it with the same value
and it gets restored.
Only valid JSON data will be stored
Defined in: LocalStore.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
sync(name)
Synchronize the store with localStorage
|
Method Detail
{Boolean}
sync(name)
Synchronize the store with localStorage
- Parameters:
- {String} name
- the name in which to save the data
- Returns:
- {Boolean} true if the param is a string