Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Hotkeys API Reference
Hotkey Sequence API Reference
Key Hold API Reference
Held Keys API Reference
Hotkey Recorder API Reference
Hotkey Sequence Recorder API Reference
Format for Display API Reference

HotkeysProvider

Variable: HotkeysProvider

ts
const HotkeysProvider: DefineComponent<ExtractPropTypes<{
  defaultOptions: {
     default: undefined;
     type: () => HotkeysProviderOptions;
  };
}>, () => 
  | VNode<RendererNode, RendererElement, {
[key: string]: any;
}>[]
  | undefined, {
}, {
}, {
}, ComponentOptionsMixin, ComponentOptionsMixin, {
}, string, PublicProps, ToResolvedProps<ExtractPropTypes<{
  defaultOptions: {
     default: undefined;
     type: () => HotkeysProviderOptions;
  };
}>, {
}>, {
  defaultOptions: HotkeysProviderOptions;
}, {
}, {
}, {
}, string, ComponentProvideOptions, true, {
}, any>;

Defined in: packages/vue-hotkeys/src/HotkeysProvider.tsx:17

Vue component that provides default options for hotkeys context.

Example

vue
<template>
  <HotkeysProvider :defaultOptions="{ hotkey: { enabled: true } }">
    <App />
  </HotkeysProvider>
</template>