Skip to content

Commit c61db79

Browse files
committed
2.1.
1 parent 31b3ff5 commit c61db79

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ If the `action` does not match any of these inbuilt actions, an event will be di
4848
<td><code>number</code></td>
4949
<td>The maximum input length.</td>
5050
</tr>
51+
<tr>
52+
<td><code>pattern</code></td>
53+
<td><code>string</code></td>
54+
<td>A regex pattern to apply to the keyboard value. If provided, an invalid match will add the <code>invalid</code> class to the keyboard component. If not provided or if the value matches, the <code>valid</code> class is added.</td>
55+
</tr>
5156
</tbody>
5257
</table>
5358

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-keyboard",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"homepage": "https://github.com/MartyWallace/vue-keyboard",
55
"main": "dist/vue-keyboard.js",
66
"license": "MIT",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-keyboard",
3-
"version": "1.4.1",
3+
"version": "2.1.0",
44
"devDependencies": {
55
"babel-preset-es2015": "^6.9.0",
66
"gulp": "^3.9.1",

0 commit comments

Comments
 (0)