useHotkeys

  • Composables
  • exports: 7

What the @feugene/granularity/composables/useHotkeys subpath exports, with signatures from its type declarations.

Source: @feugene/granularity 1.1.1, package.json#exports and dist/types

On this page

Import

import { useHotkeys, GRANULARITY_HOTKEYS_STATE, granularityHotkeysPlugin } from '@feugene/granularity/composables/useHotkeys'

Exports

GrHotkeyDefinitioninterface
interface GrHotkeyDefinition
GrHotkeyRegistrytype
type GrHotkeyRegistry = Record<string, GrHotkeyDefinition>
GranularityHotkeysPluginOptionsinterface
interface GranularityHotkeysPluginOptions
GRANULARITY_HOTKEYS_STATEconst
const GRANULARITY_HOTKEYS_STATE: InjectionKey<HotkeysState>
granularityHotkeysPluginconst
const granularityHotkeysPlugin:
resetHotkeysRegistryfunction
function resetHotkeysRegistry(): void
useHotkeysfunction
function useHotkeys():