Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nativescript-soft-keyboard) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
nativescript-soft-keyboard
It is a challenge to get height of soft keyboard in Android and IOS. Android has not provided a direct way to read its height. But Nativescript app sometimes needs this information to achieve a good user interface.
Breaking changes
nativescript-soft-keyboard@2 for Nativescript@7
nativescript-soft-keyboard@1 for Nativescript version < 7
Installation
tns plugin add nativescript-soft-keyboard
Usage
registerSoftKeyboardCallback((h) => console.log(h))
API
function | parameter | Description |
---|---|---|
registerSoftKeyboardCallback | callback | register a callback for new height of soft keyboard |
License
Apache License Version 2.0, January 2004
ns plugin add nativescript-soft-keyboard
License
Apache License Version 2.0