mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-01-19 08:32:57 +08:00
README cleanup
This commit is contained in:
parent
d8e8b6076a
commit
d1e6630247
@ -246,7 +246,7 @@ For example:
|
|||||||
// Initialize simple-keyboard as usual
|
// Initialize simple-keyboard as usual
|
||||||
var keyboard = new Keyboard({
|
var keyboard = new Keyboard({
|
||||||
onChange: input => console.log(input),
|
onChange: input => console.log(input),
|
||||||
onKeyPress: button => console.log(button),
|
onKeyPress: button => console.log(button)
|
||||||
});
|
});
|
||||||
|
|
||||||
// Add an event listener for the inputs to be tracked
|
// Add an event listener for the inputs to be tracked
|
||||||
@ -261,8 +261,6 @@ For example:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
[Using several inputs](#using-several-inputs)
|
|
||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
|
|
||||||
<img src="src/demo/images/demo.gif" align="center" width="600">
|
<img src="src/demo/images/demo.gif" align="center" width="600">
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "simple-keyboard",
|
"name": "simple-keyboard",
|
||||||
"version": "2.1.0",
|
"version": "2.1.1",
|
||||||
"description": "On-screen Virtual Keyboard",
|
"description": "On-screen Virtual Keyboard",
|
||||||
"main": "build/index.js",
|
"main": "build/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user