AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Angular 2 keyup8/16/2023 The Hotkey constructor takes a description as an optional fourth parameter as a string or optionally as a function for dynamic descriptions. NB! Only hotkeys that have a description will apear on the cheat sheet. The HotkeysService will automatically register the ? key combo to toggle the cheat sheet. To enable the cheat sheet, simply add to your top level component template. This library is a work in progress and any issues/pull-requests are welcomed! Based off of the angular-hotkeys library Cheat Sheet Your callback must return either a boolean or an "ExtendedKeyboardEvent".įor more information on what hotkeys can be used, check out add ( new Hotkey (, ( event: KeyboardEvent, combo: string ): ExtendedKeyboardEvent => ) )
0 Comments
Read More
Leave a Reply. |