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

View File

@ -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; }
}

View File

@ -3,7 +3,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
import { Observable } from 'rxjs';
/**
* @name google-nearby
* @name Google Nearby
* @description
* This plugin adds support for the Google Nearby Messages API.
*