Closed gregziegan closed 8 years ago
So, after looking more at elm-css
, it seems a helper function producing an Html.Attribute
is used to generate the appropriate attribute rather than a list of classes. Their class
function allows the passing in of union types. All that needs to be done there is provide a configuration function for defining a custom html attribute on the sub views. This would be a minor update, so it's not necessary while elm-css
is in self-described beta for 3.0
With #26, the configuration will take a List Html.Attribute
for list items and the list. So, Elm-CSS will work fine
Already possible with new API
elm-css enables the styling of a component via union types in Elm, and guarantees compile time class name checks. An example with this working on the new
0.17
version will help consumers build their apps in a more explicit manner.