Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Central KeyHandler Pattern #47

Open
rhermann opened this issue Aug 6, 2012 · 0 comments
Open

Central KeyHandler Pattern #47

rhermann opened this issue Aug 6, 2012 · 0 comments

Comments

@rhermann
Copy link

rhermann commented Aug 6, 2012

Can you add the ability to add a central keyHandler, with the way to check the key (not the keycode)

key(centralFn);

function centralFn(key) {
if (key == 'shift + k') {
}
...
}

Pro: Central Handler can be deactivated (no need to do this for every key Handler)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant