docs(): Update nativestorage.ts (#384)
This commit is contained in:
parent
899c695414
commit
2503ef2ee5
@ -2,8 +2,8 @@ import { Cordova, Plugin } from './plugin';
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Native Storage
|
* @name NativeStorage
|
||||||
* @description
|
* @description Native storage of variables in Android and iOS
|
||||||
*
|
*
|
||||||
* @usage
|
* @usage
|
||||||
* ```typescript
|
* ```typescript
|
||||||
@ -30,7 +30,7 @@ import { Cordova, Plugin } from './plugin';
|
|||||||
export class NativeStorage {
|
export class NativeStorage {
|
||||||
/**
|
/**
|
||||||
* Stores a value
|
* Stores a value
|
||||||
* @param reference
|
* @param reference {string}
|
||||||
* @param value
|
* @param value
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
@ -38,14 +38,14 @@ export class NativeStorage {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a stored item
|
* Gets a stored item
|
||||||
* @param reference
|
* @param reference {string}
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
static getItem(reference: string): Promise<any> {return; }
|
static getItem(reference: string): Promise<any> {return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes a single stored item
|
* Removes a single stored item
|
||||||
* @param reference
|
* @param reference {string}
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
static remove(reference: string): Promise<any> {return; }
|
static remove(reference: string): Promise<any> {return; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user