Android SoftKeyboard Plugin for PhoneGap
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/android/de/phonostar
www
.gitignore
LICENSE
README.md
plugin.xml

README.md

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.