[GopherJS] Virtual Keyboard


Virtual kayboard/keypad in GopherJS [1].

Demo

Real world application is Pāli Dictionary. There are special characters in romanized Pāli. For the convenience of input Pāli words, users can use the virtual keyboard to type Pāli word without installation of Pāli input method in computers

Source code:

The main logic in Go code is simple:

For complete source code + demo code, see [2].

For AngularJS version, see [3].
For Vue.js version, see [4].
For Dart version, see [5].
For plain JavaScript version, see [6].

Tested on:

  • Ubuntu Linux 16.10
  • Go 1.7.5
  • Chromium Version 55.0.2883.87 Built on Ubuntu , running on Ubuntu 16.10 (64-bit)

References:

[1]GopherJS - A compiler from Go to JavaScript (GitHub, GopherJS Playground, godoc)
[2]GitHub - siongui/gopherjs-pali-virtual-keypad: Virtual Keyboard for Pāli input. Written in Go.
[3][AngularJS] Virtual Keyboard
[4][Vue.js] Virtual Keyboard
[5][Dart] Virtual Keyboard
[6][JavaScript] Virtual Keyboard