File tree Expand file tree Collapse file tree 2 files changed +11
-46
lines changed Expand file tree Collapse file tree 2 files changed +11
-46
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,16 @@ SDK provides an option to over-ride the default keymap with the new keymap.
7
7
This can be done using the below snippet :
8
8
9
9
``` js
10
- this .application .keymapping = < custom_key_map >
10
+ this .application .overRideKeyMap (customKeyMap, keepDefaults)
11
11
```
12
12
13
- This will Update the existing keymap with the latest keymap
13
+ By default ` keepDefaults ` will be false.
14
+
15
+ ` customKeyMap ` : Keymap to be overidden
16
+
17
+ ` keepDefaults ` : Flag to overide the the default keymap or not.
18
+
19
+ If set to ` false ` , it will override the existing keymap.
20
+
21
+ If set to ` true ` , it will be merged with the base keymap along with the exsiting keymap, where it has all the keys which has same values.
22
+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments