Interface

UseTimelineKeyboardResult

Result returned by `useTimelineKeyboard`.

Signature

Type Definition
Interface UseTimelineKeyboardResult

Properties

NameSignatureDescription
bindingsbindings: TimelineKeyboardBindingsBindings currently used by the scope.
executeCommand(command: TimelineKeyboardCommand): TimelineKeyboardCommandResult | Promise<TimelineKeyboardCommandResult>Executes an override or built-in command and returns its status; does not claim a keyboard event.
getCommandForEvent(event: TimelineKeyboardEventLike): TimelineKeyboardCommand | nullResolves a keyboard event to a command using the current bindings.
scopePropsscopeProps: HTMLAttributes<HTMLDivElement>Props for a focus-scoped keyboard shortcut container.