electron-virtual-keyboard
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -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'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
517112
881