• This function allows for keyboard navigation through dropdowns. The custom argument is optional.

    Parameters

    • index: number

      The index of the element you're on

    • innerIndex: number

      Inner index number

    • position: string

      The orientation of the dropdown

    • refsCollection: any[]

      Array of refs to the items in the dropdown

    • kids: any[]

      Array of items in the dropdown

    • Optionalcustom: boolean

      Allows for handling of flexible content

    Returns void