Closed do-yeon closed 5 years ago
It's quite simple to show cheat sheet using the service, simply do something along the lines of:
this._hotkeysService.cheatSheetToggle.next();
And that will toggle it. If I don't misremember you can pass true
or false
as a parameter to .next()
to explicitly show or hide, respectively, the cheat sheet.
Thanks! and I have one more question. How to allow cheetsheet in input, select, textarea?
Is there a possibility to show cheat sheet by using service? Most of our user don't know about cheatsheet. So, we decided to show the user this cheatsheet, if they visit that page at first.