Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-virtual-keyboard

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-virtual-keyboard - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

demo/demo.js

@@ -22,3 +22,3 @@ const electron = require('electron')

mainWindow.loadURL(url.format({
pathname: path.join(__dirname, 'test.html'),
pathname: path.join(__dirname, 'demo.html'),
protocol: 'file:',

@@ -25,0 +25,0 @@ slashes: true

{
"name": "electron-virtual-keyboard",
"version": "1.0.1",
"version": "1.0.2",
"description": "An electron based virtual keyboard. Uses electron's sendInputEvent api to implement a simple customizable soft keyboard.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -357,3 +357,2 @@ (function (factory) {

var position = el.getBoundingClientRect();
console.log(el, position);
}

@@ -402,3 +401,3 @@

if (!this.displayOnFocus) {
if (this.config.displayOnFocus) {
this.show(el);

@@ -417,3 +416,3 @@ }

this.unfocusTimeout = delayFn(() => {
if (this.displayOnFocus) {
if (this.config.displayOnFocus) {
this.hide(el);

@@ -483,2 +482,7 @@ }

$.fn.keyboard = function (config) {
var config = Object.assign({}, {
individual: false
}, config);
if (!config && $(this).data('virtual-keyboard')) {

@@ -485,0 +489,0 @@ return $(this).data('virtual-keyboard');

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