From 74690d16220aca3800b048b52d1107492271388e Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Thu, 24 Mar 2016 14:19:09 -0400 Subject: [PATCH] docs(keyboard): add platforms supported --- src/plugins/keyboard.ts | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/src/plugins/keyboard.ts b/src/plugins/keyboard.ts index 6fa85037a..fa96cde64 100644 --- a/src/plugins/keyboard.ts +++ b/src/plugins/keyboard.ts @@ -30,24 +30,34 @@ export class Keyboard { console.log("hideKeyboardAccessoryBar method has been removed temporarily.") } + /** + * Force keyboard to be shown. + * @platforms ['Android','BlackBerry 10','Windows'] + */ + @Cordova({ + sync: true + }) + static show() : void {} + /** * Close the keyboard if open + * @platforms ['iOS','Android','BlackBerry 10','Windows'] */ @Cordova({ sync: true }) static close() : void {} + /** + * Prevents the native UIScrollView from moving when an input is focused. + * @platforms ['iOS','Windows'] + * @param disable + */ @Cordova({ sync: true }) static disableScroll(disable : boolean) : void {} - @Cordova({ - sync: true - }) - static show() : void {} - // TODO add event listener } \ No newline at end of file