3 مستودعات
Logic to determine if keyboard shortcuts should be ignored based on the specific DOM element currently in focus.
Distinct from Application Focus Filtering: Filters by focused DOM element within a page, whereas [f1_mt5] filters based on the active application window.
Explore 3 awesome GitHub repositories matching operating systems & systems programming · DOM Focus Filtering. Refine with filters or upvote what's useful.
hotkeys-js is a JavaScript keyboard shortcut library and event manager used to map key combinations to callback functions within web applications. It serves as an input shortcut orchestrator that captures and filters keyboard events to execute custom actions. The library distinguishes itself through shortcut scope management, allowing shortcuts to be organized into named groups. These scopes can be toggled to prevent command conflicts across different application states. The system covers keyboard shortcut binding and unbinding, real-time key state querying, and input event filtering to prev
Inspects the currently focused DOM element to prevent shortcuts from triggering inside text fields.
Keymaster is a keyboard shortcut library for web applications that provides utilities for intercepting keyboard events and mapping key combinations to handler functions. It includes a keyboard event manager and a key state tracker to monitor and query which keys or modifiers are currently held down. The library features a scoped input handler that allows shortcuts to be grouped into named contexts. This enables the application to switch between different sets of available actions depending on the active area of the interface. The system includes input filtering to prevent global shortcuts fr
Prevents shortcut execution when specific DOM elements, such as text inputs, have focus.
React hotkeys is a keyboard shortcut manager designed for declaring, scoping, and handling keyboard shortcuts and focus areas in React applications. It allows developers to define declarative shortcuts by binding key combinations or sequences to action names and handler functions, enabling components to respond predictably to user input. The library provides distinct mechanisms for managing how keyboard events interact with the document. It supports scoping hotkeys to specific component subtrees and DOM descendants to match natural browser focus behavior, alongside global key event handling t
Listens for keyboard input only when specific DOM descendants are active and focused.