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/
import Keyboard from 'Keyboard';
<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
onTextareaChanged(newState) {
this.setState({ textarea: newState });
}
- React
- Webpack
- jQuery
- Mottie Keyboard