Closed daig closed 7 years ago
The attribute spread example in the live demo seems to be broken
attrsGreeting : List (Attribute msg) -> Html msg attrsGreeting attrs = <div {:attrs}>Hi</div>
goes to
attrsGreeting : List (Attribute msg) -> Html msg attrsGreeting attrs = Html.div [(:attrs)] [Html.text "Hi"]
Handling attribute spread would be great for handling styling children natively in elm
Hi @daig , thanks for finding this bug
I've just pushed a new version that fixes this issue, check elmx@1.0.7, Atom's language-elmx@1.2.8 or the updated the live demo.
elmx@1.0.7
language-elmx@1.2.8
Cheers!
The attribute spread example in the live demo seems to be broken
goes to
Handling attribute spread would be great for handling styling children natively in elm