docs(keyboard): add platforms supported

This commit is contained in:
Ibrahim Hadeed 2016-03-24 14:19:09 -04:00
parent 292c80c735
commit 74690d1622

View File

@ -30,24 +30,34 @@ export class Keyboard {
console.log("hideKeyboardAccessoryBar method has been removed temporarily.") 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 * Close the keyboard if open
* @platforms ['iOS','Android','BlackBerry 10','Windows']
*/ */
@Cordova({ @Cordova({
sync: true sync: true
}) })
static close() : void {} static close() : void {}
/**
* Prevents the native UIScrollView from moving when an input is focused.
* @platforms ['iOS','Windows']
* @param disable
*/
@Cordova({ @Cordova({
sync: true sync: true
}) })
static disableScroll(disable : boolean) : void {} static disableScroll(disable : boolean) : void {}
@Cordova({
sync: true
})
static show() : void {}
// TODO add event listener
} }