phonegap-softkeyboard-android

1.0.9 • Public • Published

PhoneGap-SoftKeyboard

Android SoftKeyboard Plugin for PhoneGap.

NOTE: The development of this plugin is discontinued.

Usage

// Open the soft keyboard.
SoftKeyboard.show();

// Close the soft keyboard.
SoftKeyboard.hide();

// Check whether the keyboard is open or closed.
SoftKeyboard.isShowing(function(isShowing){
  if (isShowing) {  
    console.log('soft keyboard open');
  } else {
    console.log('soft keyboard closed');
  }
}, function(){ 
  console.log('error');
})

HINT: (undocumented cordova callbacks) To have callback for hiding and showing the keyboard you can use: "showkeyboard" / "hidekeyboard" events wich are not mentioned in the docs.

Package Sidebar

Install

npm i phonegap-softkeyboard-android

Weekly Downloads

0

Version

1.0.9

License

ISC

Last publish

Collaborators

  • nicholas.b.carter