Trigger an action on a target element when the hotkey (key or sequence of keys) is pressed on the keyboard. This triggers a focus event on form fields or a click event on other elements. By default, hotkeys are extracted from a target element's data-hotkey attribute, but this can be overridden by passing the hotkey to the registering function (install) as a parameter.

Features

  • All shortcuts (for example g i, ., Meta+k) within GitHub use hotkey to declare shortcuts in server side templates
  • Documentation available
  • Examples available
  • Character Key Shortcuts
  • Interactive Elements
  • Distributed under the MIT license

Project Samples

Project Activity

See All Activity >

Categories

Hotkey

License

MIT License

Follow Hotkey

Hotkey 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 Hotkey!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Hotkey Tool

Registered

2024-09-27