Monaca Docs
Search…
Cordova Ionic Keyboard Plugin
A keyboard plugin for Cordova apps.
To check the third party Cordova plugins, you need to create a custom build debugger (Android version or iOS version).

  1. 1.
    From the IDE menu, go to Config → Manage Cordova Plugins .
  2. 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();
Copy link
On this page
Demo
Enable the plugin in Monaca IDE
API references
show()
hide()