localStorage
Protocol bindings for all localStorage operations.
Usage
1 | client.localStorage(method[,args]).then(callback); |
Parameters
Param | Type | Details |
---|---|---|
method | String | method for storage operation |
args optional |
Object/String | operation arguments |
Example
1 | // get the storage item for the given key |