KEYCODES

const
Interactivity

Frozen map of legacy numeric keyCodes used by the ripple system and other low-level keyboard handlers. Covers the most common interaction keys (enter, tab, arrows, escape, space, etc.).

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

Usage

Examples

Ready-to-paste code snippets using this constant.

Matching a keydown event with KEYCODES

typescript