@codesthings/nativescript-soft-keyboard
TypeScript icon, indicating that this package has built-in type declarations

2.0.5 • Public • Published

History

Forked from https://github.com/liuy97/nativescript-soft-keyboard

Changes

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.

Break 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

/@codesthings/nativescript-soft-keyboard/

    Package Sidebar

    Install

    npm i @codesthings/nativescript-soft-keyboard

    Weekly Downloads

    2

    Version

    2.0.5

    License

    Apache-2.0

    Unpacked Size

    41.3 kB

    Total Files

    12

    Last publish

    Collaborators

    • jamescodesthings