Added multiple inputs live demo

This commit is contained in:
Francisco Hodge 2018-07-03 19:10:47 -04:00
parent 66ae70f29a
commit e7b604f6b1
2 changed files with 4 additions and 2 deletions

View File

@ -271,7 +271,7 @@ let input = keyboard.getInput("inputName");
### setInput
> Set the keyboard's input. Useful if you want the keybord to initialize with a default value, for example.
> Set the keyboard's input. Useful if you want to track input changes made outside simple-keyboard.
```js
// For default input (i.e. if you have only one)
@ -348,6 +348,8 @@ For example:
> [See full example](https://github.com/hodgef/simple-keyboard/blob/master/src/demo/MultipleInputsDemo.js).
[![Edit simple-keyboard multiple inputs demo - npm](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/43nm6v4xyx?module=%2Fsrc%2Findex.js)
## Demo
[https://franciscohodge.com/simple-keyboard/demo](https://franciscohodge.com/simple-keyboard/demo)

View File

@ -1,6 +1,6 @@
{
"name": "simple-keyboard",
"version": "2.3.3",
"version": "2.3.4",
"description": "On-screen Virtual Keyboard",
"main": "build/index.js",
"scripts": {