mbr/elm-extras/3.1.0

elm-extras

An experimental collection of small Elm utilities that do not have an established home elsewhere. Expect breaking changes between releases.

Migrating from 2.x

Version 3 removes the HTML modules, which duplicated elm-community/html-extra. Install that package and replace the removed APIs as follows:

RemovedReplacement
Extras.Html.nothingHtml.Extra.nothing
Extras.Html.whenHtml.Extra.viewIf
Extras.Html.Attributes.noneHtml.Attributes.Extra.empty
Extras.Html.Attributes.whenHtml.Attributes.Extra.attributeIf

The SVG APIs now use the corresponding elm-community/html-extra names:

2.x3.x
Extras.Svg.nothingExtras.Svg.nothing
Extras.Svg.whenExtras.Svg.viewIf
Extras.Svg.Attributes.noneExtras.Svg.Attributes.empty
Extras.Svg.Attributes.whenExtras.Svg.Attributes.attributeIf

Extras.Svg.viewMaybe and Extras.Svg.Attributes.attributeMaybe provide SVG counterparts to the HTML package's optional rendering helpers.