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
App Hotkeys API Reference
Key hold & held keys API Reference
Hotkey Recorder API Reference
Normalization & format API Reference

createHotkeyBindings

ts
function createHotkeyBindings(): object;
function createHotkeyBindings(): object;

Defined in: adapter.ts:51

Reconciles adapter registrations while retaining handles for option updates.

Returns

destroy()

ts
destroy(): void;
destroy(): void;

Returns

void

update()

ts
update(definitions, commonOptions?): void;
update(definitions, commonOptions?): void;

Registers new definitions, updates existing ones in place, and removes stale ones. Definitions with an empty sequence or a null target are skipped.

Parameters

definitions

readonly HotkeyDefinition[]

commonOptions?

HotkeyBindingsCommonOptions = {}

Returns

void