API reference: @salmonui/data-grid/engine
KeymapOptionsinterface
import type { KeymapOptions } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid/engine/keyboard.
interface KeymapOptions {
readonly platform?: KeyPlatform;
readonly bindings?: KeyBindingOverrides;
readonly table?: readonly KeyBinding[];
readonly warn?: (code: string, message: string) => void;
}
| Name | Signature | Description |
|---|---|---|
platformoptional | readonly platform?: KeyPlatform; | |
bindingsoptional | readonly bindings?: KeyBindingOverrides; | Replaces the combos of the named commands (Custom Bindings). An empty array unbinds. |
tableoptional | readonly table?: readonly KeyBinding[]; | |
warnoptional | readonly warn?: (code: string, message: string) => void; |