We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b26c9 commit 4f9b389Copy full SHA for 4f9b389
src/simulator/src/hotkey_binder/model/model.types.ts
@@ -0,0 +1,25 @@
1
+//This file holds the interfaces required for src/simulator/src/hotkey_binder/model
2
+//to be continued for storing interfaces of the parent folder
3
+
4
+export interface ShortcutOptions {
5
+ type?: string
6
+ propagate?: boolean
7
+ disable_in_input?: boolean
8
+ target?: Document | string
9
+ keycode?: number | false
10
+}
11
12
+export interface ShortcutBinding {
13
+ callback: EventListener
14
+ target: Document | HTMLElement
15
+ event: string
16
17
18
+export interface ModifierState {
19
+ wanted: boolean
20
+ pressed: boolean
21
22
23
+export interface KeyMap {
24
+ [key: string]: string
25
src/simulator/src/hotkey_binder/model/shortcuts.plugin.js
0 commit comments