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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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