Convenience functions for working with Svg.Attribute
.
none : Svg.Attribute msg
Empty attribute.
Useful if need to produce an SVG 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.Svg.nothing
.