Interface

KeyboardScopeProps

Props for the focus-scoped timeline keyboard shortcut wrapper.

Signature

Type Definition
Interface KeyboardScopeProps

Properties

NameSignatureDescription
bindings?bindings?: false | Partial<Record<TimelineKeyboardCommand, typeOperator>>Custom command bindings. Passing `false` disables all shortcut handling.
disabled?disabled?: booleanDisables keyboard handling while preserving returned scope props.
frameRate?frameRate?: TimecodeFrameRateSequence frame rate used for exact frame stepping.
frameStepCount?frameStepCount?: numberNumber of frames moved by step commands. Defaults to `1`.
label?label?: stringAccessible label for the default scope props.
platform?platform?: TimelineKeyboardPlatformPlatform used for platform-specific preset bindings. Defaults to the current browser platform.
preset?preset?: TimelineKeyboardPresetPreset used when `bindings` is not supplied. Defaults to `professionalEditor`.
preventDefault?preventDefault?: booleanPrevents browser defaults after a shortcut is claimed. Defaults to `true`.
stopPropagation?stopPropagation?: booleanStops propagation after a shortcut is claimed. Defaults to `false`.
zoomStepRatio?zoomStepRatio?: numberMultiplicative zoom step used by zoom commands. Defaults to `1.2`.