Closed nthhhhhhh closed 7 years ago
Within HTML I tested
div.myClass1.myClass2
producing the correct behavior: <div class="myClass1 myClass2"></div>
<div class="myClass1 myClass2"></div>
Though in Elm, using the same syntax
produces: div [ class "myClass1.myClass2" ] []
div [ class "myClass1.myClass2" ] []
where I expected div [ class "myClass1 myClass2" ] []
div [ class "myClass1 myClass2" ] []
I also tried emmet's custom attribute syntax
div [class="myClass1 myClass2"]
which then generates the same elm code as above: div [ class "myClass1.myClass2" ] []
Thanks.
div [ Html.Attributes.class "class1 class2" ] [ text "content" ]
Within HTML I tested
producing the correct behavior:
<div class="myClass1 myClass2"></div>
Though in Elm, using the same syntax
produces:
div [ class "myClass1.myClass2" ] []
where I expected
div [ class "myClass1 myClass2" ] []
I also tried emmet's custom attribute syntax
which then generates the same elm code as above:
div [ class "myClass1.myClass2" ] []
Thanks.