| 17 | * A single hotkey definition for use with `createHotkeys`. |
| 18 | */ |
| 19 | export interface CreateHotkeyDefinition { |
| 20 | /** The hotkey string (e.g., 'Mod+S', 'Escape') or RawHotkey object */ |
| 21 | hotkey: RegisterableHotkey |
| 22 | /** The function to call when the hotkey is pressed */ |
| 23 | callback: HotkeyCallback |
| 24 | /** Per-hotkey options (merged on top of commonOptions) */ |
| 25 | options?: CreateHotkeyOptions |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * SolidJS primitive for registering multiple keyboard hotkeys at once. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…