Convenience functions for working with Html.Attribute
.
none : Html.Attribute msg
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
.