mind-gym / elements / MG.Attributes

Style-specific

transition : Element.Attribute msg

Add standard transition to any element in Elm-UI. For use on elements where styles will change depending on some state change.

Testing

testIdentifier : String -> Element.Attribute msg

Add a data-test attribute to any element in Elm-UI. For use in e2e testing.

Events

onEnter : msg -> Element.Attribute msg

Add an onEnter event to any element in Elm-UI. Generally intended for use on input fields.