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 ee331db commit d426cdbCopy full SHA for d426cdb
src/context-menu.ts
@@ -16,6 +16,7 @@ interface ContextMenuOption {
16
id: string;
17
label: string;
18
enabled?: boolean;
19
+ accelerator?: string;
20
}
21
22
interface ContextMenuSubmenu {
@@ -66,7 +67,8 @@ function buildContextMenuOption(option: ContextMenuOption, callback: ContextMenu
66
67
id: option.id,
68
label: option.label,
69
enabled: option.enabled,
- click: callback
70
+ click: callback,
71
+ accelerator: option.accelerator
72
});
73
74
0 commit comments