View as Markdown

API reference: @salmonui/data-grid/engine

createKeymapfunction

import { createKeymap } from '@salmonui/data-grid/engine';

Also exported from @salmonui/data-grid/engine/keyboard.

function createKeymap(options?: KeymapOptions): Keymap;

Compiles the binding table for one platform. User bindings replace the combos of their command; a user combo that a built-in binding also uses in the same context logs a development warning and wins (the built-in loses that combo in that context).