html2purescript icon indicating copy to clipboard operation
html2purescript copied to clipboard

HP.data-

Open flip111 opened this issue 5 years ago • 0 comments

At the moment an attribute in html data-toggle is translated as HP.data-toggle.

I think instead this function https://pursuit.purescript.org/packages/purescript-halogen/4.0.0/docs/Halogen.HTML.Properties#v:attr should be used

HP.attr (AttrName "data-toggle") "value"

flip111 avatar Feb 05 '20 23:02 flip111