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

You Might Also Like
Shift, the browser that merges all of your web apps into one powerful window. Icon
Streamline everything you do online when you install Shift and access thousands of apps without leaving your browser. Connect all of your Gmail, Outlook, and Office 365 accounts and manage everything from one centralized window. Build out your Shift browser with apps that integrate seamlessly so you have ultra-fast access to all the tools you use to stream, shop, work, browse, and stay connected. Shift brings it all together.
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