NOTE: the latest version is 3.1.0
Html attribute extras
Convenience functions for working with Html.Attribute
Html.Attribute
Empty attribute
Useful if need to produce an HTML attribute that evaluates to nothing. Example:
div [ if isHidden then style [ "display", "none" ] else none ] [ text "example" ]
The name is no conincidence, but was chosen to not clash with Extras.Html.nothing.
Extras.Html.nothing
Empty attribute
Useful if need to produce an HTML attribute that evaluates to nothing. Example:
The name is no conincidence, but was chosen to not clash with
Extras.Html.nothing.