Rezi
    Preparing search index...

    Function getNextRadioIndex

    • Get the next selectable option index (for ArrowDown or ArrowRight). Skips disabled options.

      Parameters

      • currentIndex: number

        Current selected index

      • options: readonly Readonly<{ disabled?: boolean; label: string; value: string }>[]

        Available options

      • wrapAround: boolean = true

        Whether to wrap from last to first

      Returns number

      Next selectable index, or current if none found