Skip to main content

Keyboard

Keyboard plugin for Cordova.

Requires Cordova plugin: cordova-plugin-ionic-keyboard. For more info, please see the Keyboard plugin docs.

https://github.com/ionic-team/cordova-plugin-ionic-keyboard

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Installation#

$ npm install cordova-plugin-ionic-keyboard
$ npm install @ionic-native/keyboard
$ ionic cap sync

Supported Platforms#

  • Android
  • iOS

Capacitor#

Not Compatible

Usage#

React#

Learn more about using Ionic Native components in React

Angular#

import { Keyboard } from '@ionic-native/keyboard/ngx';
constructor(private keyboard: Keyboard) { }
...
this.keyboard.show();
this.keyboard.hide();