NOTE: the latest version is 3.1.0
Convenience functions for working with Svg.Attribute.
Svg.Attribute
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.
Extras.Svg.nothing
Empty attribute.
Useful if need to produce an SVG attribute that evaluates to nothing. Example:
The name is no conincidence, but was chosen to not clash with
Extras.Svg.nothing.