Constructors
- Since:
- 5.0c
Methods
-
getOptions(){Object}
-
Returns the current storage options.
Returns:
Type Description Object the storage options Example
var storageOptions = storage.getOptions();
-
setOptions(newOptions)
-
Sets the current storage options.
Name Type Description newOptions
Object the storage options
Name Type Description autoSave
Boolean true
if the automatic save mode is switched on,false
otherwiseExample
storage.setOptions({ autoSave : true });