angular-hotkeys icon indicating copy to clipboard operation
angular-hotkeys copied to clipboard

How to open Cheat Sheet from controller

Open piernik opened this issue 8 years ago • 3 comments

How can I open cheat sheet from controller? I've tried to trigger "?" combo with Mousetrap.trigger('?') but it's not working (some $rootScope issue)

piernik avatar Mar 08 '16 09:03 piernik

hotkeys.toggleCheatSheet(); should do the job.

Way overdue, but just in case someone else stumbles accross this :)

DennisOng avatar Aug 09 '16 00:08 DennisOng

Thanks for reply :)

piernik avatar Aug 19 '16 08:08 piernik

I would like to know if is possible to cancel the default behaviour of shift+? ... I would like to create my own shortcut to open the cheat sheet.

sibelly avatar May 18 '17 17:05 sibelly