Function

getTimelineKeyboardCommand

Resolves a keyboard event to the first matching command in stable command order.

Signature

Type Definition
getTimelineKeyboardCommand(event: TimelineKeyboardEventLike, bindings: TimelineKeyboardBindings): TimelineKeyboardCommand | null

Parameters

NameTypeDescription
eventTimelineKeyboardEventLikeKeyboard event fields to match.
bindingsTimelineKeyboardBindingsCommand bindings to search.

Returns

The matched command, or `null` when no binding applies.