krisajenkins/elm-exts/26.5.0

NOTE: this package is not compatible with Elm 0.19.1

Exts.Html.Attributes

Extensions to the Html.Attributes library.

defaultValue : Value -> Attribute msg

Set a default value for an input field.

defaultString : String -> Attribute msg

Convenience version of defaultValue, for Strings.

defaultInt : Int -> Attribute msg

Convenience version of defaultValue, for Ints.

defaultFloat : Float -> Attribute msg

Convenience version of defaultValue, for Floats.

styleList : List ( String, String, Bool ) -> Attribute msg

This function makes it easier to specify a conditional set of styles. This the style-equivalent of elm-html's classList.