Skip to content

Commit 26e48e1

Browse files
committed
Updated documentation related to keymap
1 parent 39b59a8 commit 26e48e1

File tree

2 files changed

+11
-46
lines changed

2 files changed

+11
-46
lines changed

docs/plugins/keymap.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,16 @@ SDK provides an option to over-ride the default keymap with the new keymap.
77
This can be done using the below snippet :
88

99
```js
10-
this.application.keymapping = <custom_key_map>
10+
this.application.overRideKeyMap(customKeyMap, keepDefaults)
1111
```
1212

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+

src/Keymap/index.js

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)