mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
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 + b',
|
|
preventDefault: true,
|
|
command: (output: ShortcutEventOutput) => console.log('control + b', output),
|
|
},
|
|
{
|
|
key: 'ctrl + plus',
|
|
preventDefault: true,
|
|
command: (output: ShortcutEventOutput) => console.log('control + plus key', output),
|
|
},
|
|
];
|