There is menu in electron with three items View,Delete,Copy. for delete I want use three shortcut keys (Delete ,backspace, D).
How can I add multiple shortcut key in single menu item.
{
label: 'App',
submenu: [
{ label: 'View', accelerator: 'CmdOrCtrl+V', click: (item, focusedWindow) => _menuClick(focusedWindow, 'undo')},
{ label: 'Delete', accelerator: 'Delete', click: (item, focusedWindow) => _menuClick(focusedWindow, 'undo')},
{ label: 'Copy', accelerator: 'CmdOrCtrl+C', click: (item, focusedWindow) => _menuClick(focusedWindow, 'undo')},
]
},
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…