HotKeys.js is an input capture library with some very special features, it is easy to pick up and use, has a reasonable footprint (~3kb) (gzipped: 1.73kb), and has no dependencies. It should not interfere with any JavaScript libraries or frameworks. You will need Node.js installed on your system. Or manually download and link hotkeys.js in your HTML, It can also be downloaded via UNPKG. react-hotkeys is the React component that listen to keydown and keyup keyboard events, defining and dispatching keyboard shortcuts. Detailed use method please see its documentation react-hotkeys. React hook for using keyboard shortcuts in components. Make sure that you have at least version 16.8 of react and react-dom installed, or otherwise hooks won't work for you. The following special keys can be used for shortcuts: backspace, tab, clear, enter, return, esc, escape, space, up, down, left, right, home, end, page up, pagedown, del, delete and f1 through f19.

Features

  • To develop, run the self-reloading build
  • Key down and key up both perform callback events
  • By default hotkeys are not enabled for INPUT SELECT TEXTAREA elements
  • Unbind events through functions
  • Use the hotkeys.deleteScope method to delete a scope
  • Special keys can be used for shortcuts

Project Samples

Project Activity

See All Activity >

Categories

Hardware, Libraries

License

MIT License

Follow Hotkeys

Hotkeys Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Hotkeys!

Additional Project Details

Operating Systems

Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Hardware Platform, JavaScript Libraries

Registered

2021-10-21