New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ionic-plugin-keyboard

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ionic-plugin-keyboard - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "ionic-plugin-keyboard",
"version": "1.0.5",
"version": "1.0.6",
"cordova": {

@@ -5,0 +5,0 @@ "id": "ionic-plugin-keyboard",

@@ -6,3 +6,3 @@ Keyboard

cordova plugin add com.ionic.keyboard
cordova plugin add ionic-plugin-keyboard

@@ -9,0 +9,0 @@ Methods

var argscheck = require('cordova/argscheck'),
utils = require('cordova/utils'),
exec = require('cordova/exec');
exec = require('cordova/exec'),
channel = require('cordova/channel');

@@ -34,2 +35,24 @@

channel.onCordovaReady.subscribe(function() {
exec(success, null, 'Keyboard', 'init', []);
function success(msg) {
var action = msg.charAt(0);
if ( action === 'S' ) {
var keyboardHeight = msg.substr(1);
cordova.plugins.Keyboard.isVisible = true;
cordova.fireWindowEvent('native.keyboardshow', { 'keyboardHeight': + keyboardHeight });
//deprecated
cordova.fireWindowEvent('native.showkeyboard', { 'keyboardHeight': + keyboardHeight });
} else if ( action === 'H' ) {
cordova.plugins.Keyboard.isVisible = false;
cordova.fireWindowEvent('native.keyboardhide');
//deprecated
cordova.fireWindowEvent('native.hidekeyboard');
}
}
});
module.exports = Keyboard;

@@ -36,0 +59,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc