cordova-plugin-android-softinputmode

Cordova Plugin for changing SoftInputMode at runtime

Usage no npm install needed!

<script type="module">
  import cordovaPluginAndroidSoftinputmode from 'https://cdn.skypack.dev/cordova-plugin-android-softinputmode';
</script>

README

cordova-plugin-android-softinputmode

This plugin lets you change the android:windowSoftInputMode property at runtime.

Currently only adjustPan, adjustResize and adjustNothing values are supported.

Example

After the deviceready event:

window.SoftInputMode.set('adjustNothing')

window.SoftInputMode.get(callback)

Where callback is called with the current value.