We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like to add keyboard listener for any key press except enter, space, shift, alt, ctrl, tab? Is this possible with KeyboardJS?
The text was updated successfully, but these errors were encountered:
How do you handle space or enter with it, tried: keyboardJS.bind(' ', (e) => { console.log(e); });
keyboardJS.bind(' ', (e) => { console.log(e); });
But it is not working.
Sorry, something went wrong.
you can type space. if you have a look at the us locale you can see all of the key names https://github.com/RobertWHurst/KeyboardJS/blob/master/locales/us.js
keyboardJS.bind('space', (e) => { console.log(e); });
@PrimozRome It's not possible at this time, but It's not a bad idea for a feature at some point.
RobertWHurst
No branches or pull requests
I would like to add keyboard listener for any key press except enter, space, shift, alt, ctrl, tab? Is this possible with KeyboardJS?
The text was updated successfully, but these errors were encountered: