Skip to content

Commit

Permalink
Update README-zh_CN.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wusb committed May 23, 2018
1 parent fd76753 commit 16729ab
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README-zh_CN.md
Expand Up @@ -64,6 +64,11 @@ yarn add digital-keyboard --dev
<meta charset="UTF-8">
<meta name="author" content="吴胜斌,simbawu">
<title>数字键盘</title>
<style>
.container {
color: #333;
}
</style>
</head>
<body>
<div id="values"></div>
Expand All @@ -76,7 +81,6 @@ yarn add digital-keyboard --dev
```javascript
//digitalKeyboard.js
import DigitalKeyboard from 'digital-keyboard';
import s from './digitalKeyboard.scss;

function inputValue(value){
console.log(value); //DigitalKeyboard return value
Expand All @@ -87,7 +91,7 @@ new DigitalKeyboard(
{
el: document.querySelector('#app'),
type: 'idcard',
className: s.container,
className: 'container',
inputValue: inputValue
}
);
Expand Down

0 comments on commit 16729ab

Please sign in to comment.