Enode — API Reference
    Preparing search index...
    • Arrow Up / Down moves the focus between the role="menuitem" entries inside container, wrapping at both ends. Call it from the menu's onKeyDown; other keys are left alone.

      Parameters

      • event: KeyboardEvent<HTMLElement>
      • container: HTMLElement | null

      Returns void