Skip to content

syware/cordova-plugin-onoff-keyboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cordova Plugin to show/hide soft keyboard

Cordova plugin to show/hide keyboard on an android device.

Installation

The plugin can be installed via Cordova-CLI.

Execute from the projects root folder:

$ cordova plugin add https://github.com/syware/cordova-plugin-onoff-keyboard.git

Remove

To remove the plugin

$ cordova plugin remove cordova-plugin-onoff-keyboard

Usage

The plugin creates the object KeyboardPlugin and is accessible after deviceready has been fired.

document.addEventListener('deviceready', function () {
    // KeyboardPlugin is now available
}, false);

Enable/Disable the keyboard

When a field get focus, you can show or hide the keyboard

// Show keyboard
KeyboardPlugin.show();

// Hide keyboard
KeyboardPlugin.hide()();

License

This software is released under the Apache 2.0 License.

© 2017 Syware Sàrl

About

Cordova plugin to show/hide keyboard on an android device.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published