React Virtual Keyboard
Notice
Use react-simple-keyboard instead, as I will no longer update this fork.
simple-keyboard
is entirely coded in React and has no jQuery or Mottie Keyboard dependency.
A on-screen keyboard (OSK) Component that works in the browser for reactJS. Useful for Kiosk Touchscreens.
Based on the Virtual Keyboard using jQuery: https://mottie.github.io/Keyboard/
Usage
Installation
npm i -S virtual-keyboard hodgef-react-virtual-keyboard
Import Keyboard
;
Use Keyboard Element
this.keyboard = k}/>
Return updated values
{ this;} { console;}
Listen for button presses
thiskeyboardinterfacekeyaction { // Enter button pressed // Accepting content, as an example: return thiskeyboardinterfacekeyactionacceptbase;};
For more information, check out the API documentation: https://github.com/Mottie/Keyboard/wiki/Options
Dependencies
- React
- Webpack
- jQuery
- Mottie Keyboard