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
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free 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