This is a virtual keyboard extension for chromium based browsers. The extension uses native keyboard events and is therefore compatible with modern JavaScript frameworks such as Vue.Js.
The extension is based on simple-keyboard.
When the following classes are present on the input, the plugin will behave differently.
no-keyboard- do not pop up the keyboard when the input is focused. Instead, a button is shown to open the keyboard manually.no-keyboard-no-toggler- do not pop up the keyboard nor button when the input is focused.
Suggestions and pull requests are welcomed!.
This project was bootstrapped with Extension.JS
- While the keyboard is shown, its height is published as the CSS variable
--vk-heighton<html>, e.g.max-height: calc(100vh - var(--vk-height, 0px))keeps a popup above it. - The Enter key shows the field's
enterkeyhint(go,next,done,search,send, ...). - The keyboard lives in the shadow root of a
<virtual-keyboard>element, so page styles don't affect it.