From f348f95e5691db50ce6b9a58b19f4aff7ccaeb86 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 21 Apr 2018 15:34:12 +0200 Subject: [PATCH] WIP --- src/@ionic-native/plugins/clipboard/index.ts | 9 +++++++++ src/@ionic-native/plugins/google-nearby/index.ts | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/clipboard/index.ts b/src/@ionic-native/plugins/clipboard/index.ts index 4590c692e..3e87d787e 100644 --- a/src/@ionic-native/plugins/clipboard/index.ts +++ b/src/@ionic-native/plugins/clipboard/index.ts @@ -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} Returns a promise after the text has been cleaned + */ + @Cordova() + clear(): Promise { return; } + } diff --git a/src/@ionic-native/plugins/google-nearby/index.ts b/src/@ionic-native/plugins/google-nearby/index.ts index fa1f3c5e2..7f9364b96 100644 --- a/src/@ionic-native/plugins/google-nearby/index.ts +++ b/src/@ionic-native/plugins/google-nearby/index.ts @@ -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. *