Enode — API Reference
    Preparing search index...

    Function nextOptionIndex

    • The option a key moves to: down and up go round at the ends. From no option (current -1), down goes to the first and up to the last.

      Parameters

      Returns number

      The index to focus, or -1 when there is no option.