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
Categories
HotkeyLicense
MIT LicenseFollow Hotkey
You Might Also Like
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Hotkey!