Keyboard

Contents

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

联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

Ionic 键盘 Keyboard插件的安装(Installation)

ionic cordova plugin add cordova-plugin-ionic-keyboard npm install @ionic-native/keyboard
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/keyboard

Ionic 键盘 Keyboard插件支持的平台(Supported Platforms)

  • Android
  • iOS

Ionic 键盘 Keyboard插件的用法(Usage)

import { Keyboard } from '@ionic-native/keyboard/ngx';

constructor(private keyboard: Keyboard) { }

...

this.keyboard.show();

this.keyboard.hide();