19 lines
482 B
TypeScript
19 lines
482 B
TypeScript
import { ShortcutEventOutput } from 'ng-keyboard-shortcuts';
|
|
|
|
export const FramaKeyboardShortcuts = [
|
|
{
|
|
key: ['cmd + a'],
|
|
command: (output: ShortcutEventOutput) => console.log('command + a', output),
|
|
},
|
|
{
|
|
key: 'ctrl + a',
|
|
preventDefault: true,
|
|
command: (output: ShortcutEventOutput) => console.log('control + a', output),
|
|
},
|
|
{
|
|
key: 'ctrl + plus',
|
|
preventDefault: true,
|
|
command: (output: ShortcutEventOutput) => console.log('control + plus key', output),
|
|
},
|
|
];
|