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

function to close CheatSheet

Open piernik opened this issue 9 years ago • 0 comments

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.

piernik avatar Mar 07 '16 17:03 piernik