Skip to content

Commit cefb1ab

Browse files
committed
Feature - Prevent click event doc updated
1 parent 8050b10 commit cefb1ab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ https://github.com/icebob/vue-touch-keyboard/archive/master.zip
5656
layout: "normal",
5757
input: null,
5858
options: {
59-
useKbEvents: false
59+
useKbEvents: false,
60+
preventClickEvent: false
6061
}
6162
},
6263
@@ -97,6 +98,7 @@ Property | Default | Accepted values | Description
9798
Option | Default | Accepted values | Description
9899
----------- | -------- | --------------- | -----------
99100
`useKbEvents` | `false` | `boolean` | If true, the component will generate a `keypress` event and trigger it. If it returns with `false`, it won't insert the new character.
101+
`preventClickEvent` | `false` | `boolean` | If true, the component will `preventDefault` the click event.
100102

101103
## Built-in layouts
102104
* `normal` - Normal full layout. Similar as real keyboard layouts

0 commit comments

Comments
 (0)