On 18 April 2016 at 00:02, 'Alan Forrester' via Clojure <
clojure@googlegroups.com> wrote:

> I am trying to use reagent for a personal project, but I have a problem
> with html tags. The keywords corresponding to html tags are not the same as
> the html tags with a colon in front of them. For example, the onclick html
> tag becomes :on-click in reagent. So I would like to see a list of which
> html tags are available and what keywords correspond to them. I have looked
> at reagent’s documentation, and hiccup’s documentation and I can’t find any
> such list. Nor can I find such a list in any of the other sites I found
> while googling.
>
> Does anybody know where I might find such a list?
>

For one of my libraries, I made a map of HTML attributes to their
equivalent React attributes:

https://github.com/weavejester/flupot/blob/master/src/flupot/dom.clj#L14

I believe Reagent just turns the camel-case into a dashed version.

- James

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to