I'm using my own template based on angular bootstrap modal.
Works great except one thing. Escape key.
With angular bootstrap esc key is closing modal and I trigger toggleCheatSheet(). Problem is that in Your script esc also triggers toggleCheatSheet() and in result it closes and opens.
Can You add function to close CheatSheet? Then I could trigger closeCheatSheet not toggle.
I'm using my own template based on angular bootstrap modal. Works great except one thing. Escape key. With angular bootstrap esc key is closing modal and I trigger
toggleCheatSheet()
. Problem is that in Your script esc also triggerstoggleCheatSheet()
and in result it closes and opens.Can You add function to close CheatSheet? Then I could trigger
closeCheatSheet
not toggle.