v-hotkey
What the @feugene/granularity/directives/hotkey subpath exports, with signatures from its type declarations.
On this page
Import
import { vHotkey } from '@feugene/granularity/directives/hotkey'Exports
HotkeyHandlertypetype HotkeyHandler = (event: KeyboardEvent) => voidHotkeyEntrytypetype HotkeyEntryHotkeyMaptypetype HotkeyMap = Record<string, HotkeyEntry>HotkeyScopetypetype HotkeyScope = 'global' | 'element'HotkeyBindingValuetypetype HotkeyBindingValuevHotkeyconstconst vHotkey: Directive<HTMLElement, HotkeyBindingValue>