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

➷ A robust Javascript library for capturing keyboard input. It has no dependencies.

Results 152 hotkeys-js issues
Sort by recently updated
recently updated
newest added

The documentation shows how to monitor the '+' key: `hotkeys('+', { splitKey: '-' }, function(e){ console.log('you pressed +'); })` but this doesn't seem to work. https://codepen.io/grantnz/pen/abpmGjz

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@rollup/plugin-node-resolve](https://togithub.com/rollup/plugins) | [`~13.1.3` -> `~13.3.0`](https://renovatebot.com/diffs/npm/@rollup%2fplugin-node-resolve/13.1.3/13.3.0) | [![age](https://badges.renovateapi.com/packages/npm/@rollup%2fplugin-node-resolve/13.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@rollup/plugin-commonjs](https://togithub.com/rollup/plugins) | [`~21.0.3` -> `~21.1.0`](https://renovatebot.com/diffs/npm/@rollup%2fplugin-commonjs/21.0.3/21.1.0) | [![age](https://badges.renovateapi.com/packages/npm/@rollup%2fplugin-commonjs/21.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)...

Question:When you press Command+C, then release C, press S, you will call the browser default event. Expect:Whenever you press Command + S, invoke the registered event. Demo:https://codepen.io/hui-h-i/pen/bGLorEK ` hotkeys('command+s', {...

Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.8. Release notes Sourced from ejs's releases. v3.1.8 Version 3.1.8 v3.1.7 Version 3.1.7 Commits 5126ff5 Version 3.1.8 7d5a1c6 Merge branch 'main' of github.com:mde/ejs into main...

dependencies

Im trying to call this: ```hotkeys('Alt', (event) => {console.log(event)})``` but it does not affect. Also tried for 'Ctrl', 'Control', 'Alt', 'Option', 'Command', 'Shift'.The same effect; in this case: ```hotkeys('Control,Control+7' ,...

Version 4 will target modern browsers. No longer compatible with old browsers. ## Version 4 - [ ] Only target modern browsers - [ ] Based on TypeScript https://github.com/jaywcjlove/hotkeys/issues/125 -...

The lates standards encourage users to not use the "keyCode" property of events. https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode Your library uses it. Do you think you could get rid of that dependency? Or do...

Hello Apply my PR with correct index.d.ts declaration https://github.com/jaywcjlove/hotkeys/pull/362

Add support for a range like numbers or alphabets in one hotkey This would help make the site navigatable from keyboard only suppose on any page, if we have 10-15...