🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

nativescript-soft-keyboard

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-soft-keyboard

Detect soft keyboard Height

2.3.0
latest
Source
npm
Version published
Maintainers
1
Created
Source

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

functionparameterDescription
registerSoftKeyboardCallbackcallbackregister 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

Keywords

keyboard

FAQs

Package last updated on 30 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts