mbr/elm-extras/1.0.0

NOTE: the latest version is 3.1.0

Extras.Html

Html extras

Convenience functions for working with Html.Html

nothing : Html msg

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