styles attribute should use typed attributes name instead of js.Dictionary
simerplaha opened this issue · 0 comments
simerplaha commented
Currently all styles get added to js.Dictionary
. But the newer versions have typed properties
This HTML
<ul style="list-style: none; padding: 0;">
currently generates this
<.ul(^.style := js.Dictionary("list-style" -> "none", "padding" -> "0"))
But now we should generate this for Scalajs-react's VDOM
<.ul(^.listStyle := "none", ^.padding := "0")
and this for Scalatags
ul(listStyle := "none", padding := "0")