Skip to main content

MODIFIER_KEYS

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

const MODIFIER_KEYS: Set<string>;

Defined in: constants.ts:40

Set of canonical modifier key names for fast lookup.

Derived from MODIFIER_ORDER to ensure consistency. Used to detect when a modifier is released so we can clear non-modifier keys whose keyup events may have been swallowed by the OS (e.g. macOS Cmd+key combos).