js_lis 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/VirtualKeyboard.js +6 -0
- package/package.json +1 -1
package/VirtualKeyboard.js
CHANGED
|
@@ -44,6 +44,11 @@ export class VirtualKeyboard {
|
|
|
44
44
|
this.setCurrentInput(target);
|
|
45
45
|
}
|
|
46
46
|
}, true);
|
|
47
|
+
|
|
48
|
+
document.addEventListener('click', (e) => {
|
|
49
|
+
const target = document.getElementById("toggle");
|
|
50
|
+
target.addEventListener('click', this.toggle.bind(this), { once: true });
|
|
51
|
+
});
|
|
47
52
|
}
|
|
48
53
|
|
|
49
54
|
setCurrentInput(inputElement) {
|
|
@@ -434,4 +439,5 @@ export class VirtualKeyboard {
|
|
|
434
439
|
keyboard.style.top = `${event.clientY - this.offsetY}px`;
|
|
435
440
|
}
|
|
436
441
|
}
|
|
442
|
+
|
|
437
443
|
}
|