Simple Vanilla JS Keyboard

Quickstart

  1. Add <script src='https://joelgrayson.com/software/keyboard/v1.min.js'></script> script tag in HTML document.
  2. An element with class trigger-keyboard will open the keyboard when clicked.

Demo

<!DOCTYPE html>
<html lang='en'>
  <head>
    <title>Virtual keyboard</title>
  </head>
  <body>
    <h3>Click below to open the keyboard</h3>
    <textarea class='trigger-keyboard'></textarea>
    <script src='https://joelgrayson.com/software/keyboard/v1.min.js'></script>
  </body>
</html>

Check out a demo at https://joelgrayson.com/software/keyboard/demo-v1.html.

Documentation

Attribution

Forked from https://www.cssscript.com/virtual-keyboard-desktop/ with alterations by me.