Open rerodrigues opened 8 years ago
Hi @chieffancypants I've changed the format function to allow displaying all possible keys for each combo in the cheatsheet.
A possible usecase could be, for example, when you want to create shortcuts using keys that doesn't exist in all platforms.
hotkeys.bindTo($scope) .add({ combo: ['home','alt+left'], description: "Go to beginning (PC/Mac)", callback: function (event, hotkey) { $scope.goToBeginning(); } });
It will now display both shortcuts on the cheat sheet.
I also upped the karma-phantomjs-launcher version to 1.0.1 to fix the unsolved peer dependency error for phantomjs@>=1.9
karma-phantomjs-launcher
1.0.1
phantomjs@>=1.9
Hi @chieffancypants I've changed the format function to allow displaying all possible keys for each combo in the cheatsheet.
A possible usecase could be, for example, when you want to create shortcuts using keys that doesn't exist in all platforms.
It will now display both shortcuts on the cheat sheet.