Skip to content

About

A Chrome extension that adds a virtual keyboard to the browser.

Resources

Stars

15 stars

Watchers

3 watching

Forks

Repository files navigation

Chrome Simple Keyboard

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.

Plugin-specific HTML classes

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.

Contribution

Suggestions and pull requests are welcomed!.


This project was bootstrapped with Extension.JS

Page integration

  • While the keyboard is shown, its height is published as the CSS variable --vk-height on <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.

About

A Chrome extension that adds a virtual keyboard to the browser.

Resources

Stars

15 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages