MCPcopy Index your code
hub / github.com/simstudioai/sim / isKeyboardActivation

Function isKeyboardActivation

packages/emcn/src/lib/keyboard.ts:7–9  ·  view source on GitHub ↗
(event: KeyboardEvent)

Source from the content-addressed store, hash-verified

5}
6
7export function isKeyboardActivation(event: KeyboardEvent) {
8 return event.key === 'Enter' || event.key === ' '
9}
10
11export function handleKeyboardActivation(
12 event: KeyboardEvent,

Callers 1

handleKeyboardActivationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected