NOTE: the latest version is 7.23.0
Unified configuration for managing focus on components.
Required configuration for managing focus.
{ onEnter = Msg.OnFocusEnterThisComponent , tabIndex = 2 , hasFocus = False }
hasFocus can be used for enforcing focus when loading a new page.
hasFocus
Applies [Focus]#Focus into Elm UI attributes.
Focus
#Focus
Element.el [ focusAttributes someConfig ] <| Element.text "Some content"
Required configuration for managing focus.
hasFocuscan be used for enforcing focus when loading a new page.