NoRedInk/noredink-ui/24.8.0

NOTE: the latest version is 35.9.3

Nri.Ui.FocusLoop.V1

Sometimes, there are sets of interactive elements that we want users to be able to navigate through with arrow keys rather than with tabs, and we want the final focus change to wrap. This module makes it easier to set up this focus and wrapping behavior.

{ focus : a -> msg
, leftRight : Bool
, upDown : Bool
}
-> List a
-> List ( a, List (Event msg) )

Modules