Comment on page
Cordova Ionic Keyboard Plugin
A keyboard plugin for Cordova apps.
- Plugin ID/package name:
cordova-plugin-ionic-keyboard
- Tested version:
2.2.0
To check the third party Cordova plugins, you need to create a custom build debugger (Android version or iOS version).
- 1.From the IDE menu, go to Config → Manage Cordova Plugins .
- 2.Click the Import Cordova Plugin button. Then, you can choose to import the plugin using a ZIP file or a URL/package name.
This section describes some of the main functions used in our Demo. For complete API references, please refer to the repository.
Show the keyboard.
Keyboard.show();
Keyboard.show()
is not supported in the iOS due to the platform limitations. Therefore, please use focus()
of the input
element instead.Example
//For Android
Keyboard.show();
//For iOS
inputElement.focus();
Hide the keyboard.
Keyboard.hide();
Example
Keyboard.hide();
Last modified 4mo ago