mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-25 11:11:46 +08:00
Merge pull request #5734 from Riron/patch-1
Ionic Keyboard: add show() method
This commit is contained in:
@@ -7,4 +7,6 @@ cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);
|
||||
cordova.plugins.Keyboard.close();
|
||||
cordova.plugins.Keyboard.disableScroll(true);
|
||||
cordova.plugins.Keyboard.disableScroll(false);
|
||||
cordova.plugins.Keyboard.show();
|
||||
cordova.plugins.Keyboard.close();
|
||||
console.log(cordova.plugins.Keyboard.isVisible);
|
||||
|
||||
Vendored
+8
@@ -17,6 +17,14 @@ declare module Ionic {
|
||||
* Close the keyboard if it is open.
|
||||
*/
|
||||
close(): void;
|
||||
|
||||
/**
|
||||
* Force keyboard to be shown on Android.
|
||||
* This typically helps if autofocus on a text element does not pop up the keyboard automatically
|
||||
*
|
||||
* Supported Platforms: Android, Blackberry 10
|
||||
*/
|
||||
show(): void;
|
||||
|
||||
/**
|
||||
* Disable native scrolling, useful if you are using JavaScript to scroll
|
||||
|
||||
Reference in New Issue
Block a user