Skip to content

bsurai/react-virtual-keyboard

 
 

Repository files navigation

React Virtual Keyboard

Currently WiP:

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

Import Keyboard

import Keyboard from 'Keyboard';

Use Keyboard Element

<Keyboard 
	value={ this.state.textarea }
	name='thetextareaname'
	options={{type:'textarea', layout:'qwerty', autoAccept: true, alwaysOpen: false, appendLocally: true, color:'light', class:'sxcycx', updateOnChange: true }}
	callbackParent={this.onTextareaChanged} />

You can use the following Options: https://github.com/Mottie/Keyboard/wiki/Options

Return updated values

onTextareaChanged(newState) {
    this.setState({ textarea: newState });
}

Dependencies

About

Use jQuery Virtual Keyboard in react.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.5%
  • CSS 7.5%