2.0.8 • Published 4 years ago

@bigin/ns-soft-keyboard v2.0.8

Weekly downloads
23
License
Apache-2.0
Repository
gitlab
Last release
4 years ago

Credit

This plugin is from nativescript-soft-keyboard of @liuy97. You can get the original plugin at https://github.com/liuy97/nativescript-soft-keyboard

We just upgrade to NS7 and add some tweaks to make it works.

NativeScript Soft Keyboard Height

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.

Installation

ns plugin add @bigin/ns-soft-keyboard

Usage

registerSoftKeyboardCallback((h) => console.log(h));

API

functionparameterDescription
registerSoftKeyboardCallbackcallbackregister a callback for new height of soft keyboard

License

Apache License Version 2.0, January 2004

2.0.8

4 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago