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
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
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