Arguments for keyboard navigation events.

interface KeyboardNavigationArgs<T> {
    currentEvent?: MJTimelineEvent<T>;
    domEvent: KeyboardEvent;
    key: string;
    targetEvent?: MJTimelineEvent<T>;
}

Type Parameters

  • T = any

    The type of the source record

Hierarchy (view full)

Properties

currentEvent?: MJTimelineEvent<T>

The currently focused event (if any).

domEvent: KeyboardEvent

The original keyboard event.

key: string

The key that was pressed.

targetEvent?: MJTimelineEvent<T>

The event that will receive focus (if any).