NOTE: the latest version is 3.1.0
Convenience functions for working with Html.Html
Html.Html
Empty element.
Useful if need to produce an HTML element that evaluates to nothing. Example:
let optionalContent = Just (div [] [ text "hello " ]) in Maybe.withDefault nothing optionalContent
Return an element when the condition is true and an empty element otherwise.
when showLabel (text "Label")
Empty element.
Useful if need to produce an HTML element that evaluates to nothing. Example: