Skip to main content

findHotkeyConflicts

还没翻译译自英文(tanstack.com)本页 10 段都还没译

function findHotkeyConflicts(candidate, options?): HotkeyConflict[];

Defined in: conflicts.ts:58

Find equivalent bindings and sequence-prefix conflicts in the live registry. With source events, also checks observed logical/physical overlap. Does not discover unmounted handlers, external listeners, or other keyboard layouts.

Parameters

candidate

| RegisterableHotkey | readonly RegisterableHotkey[]

options?

HotkeyConflictOptions = {}

Returns

HotkeyConflict[]