This commit is contained in:
Daniel
2018-04-21 15:34:12 +02:00
parent f13b31f074
commit f348f95e56
2 changed files with 10 additions and 1 deletions
@@ -26,6 +26,8 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
* alert('Error: ' + reject);
* }
* );
*
* this.clipboard.clear();
* ```
*/
@Plugin({
@@ -57,4 +59,11 @@ export class Clipboard extends IonicNativePlugin {
return;
}
/**
* Clear the text stored in clipboard
* @returns {Promise<any>} Returns a promise after the text has been cleaned
*/
@Cordova()
clear(): Promise<any> { return; }
}