mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-25 04:16:09 +08:00
docs(secure storage): rename item to key (#1445)
This commit is contained in:
parent
11dbe42a0d
commit
58ad707dc3
@ -80,19 +80,19 @@ export class SecureStorageObject {
|
|||||||
* this.secureStorage.create('my_store_name')
|
* this.secureStorage.create('my_store_name')
|
||||||
* .then((storage: SecureStorageObject) => {
|
* .then((storage: SecureStorageObject) => {
|
||||||
*
|
*
|
||||||
* storage.get('myitem')
|
* storage.get('key')
|
||||||
* .then(
|
* .then(
|
||||||
* data => console.log(data),
|
* data => console.log(data),
|
||||||
* error => console.log(error)
|
* error => console.log(error)
|
||||||
* );
|
* );
|
||||||
*
|
*
|
||||||
* storage.set('myitem', 'myvalue')
|
* storage.set('key', 'value')
|
||||||
* .then(
|
* .then(
|
||||||
* data => console.log(data),
|
* data => console.log(data),
|
||||||
* error => console.log(error)
|
* error => console.log(error)
|
||||||
* );
|
* );
|
||||||
*
|
*
|
||||||
* storage.remove('myitem')
|
* storage.remove('key')
|
||||||
* .then(
|
* .then(
|
||||||
* data => console.log(data),
|
* data => console.log(data),
|
||||||
* error => console.log(error)
|
* error => console.log(error)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user