onclick is not an html tag.

here is the event list of react. take into account that react events are 
camelCase like onClick

http://facebook.github.io/react/docs/events.html#supported-events 
<http://facebook.github.io/react/docs/events.html#supported-events>

and here is the explanation of the event system in react

http://facebook.github.io/react/docs/events.html 
<http://facebook.github.io/react/docs/events.html>

reagent, as almost everything in clojure(script), is kebab case like 
this-is-a-name:

in my understanding any event available in react should be available (as 
keywordized kebab case) in reagent as well, but I did not used all of them and 
could be wrong.

mimmo

> On 18 Apr 2016, at 01:02, 'Alan Forrester' via Clojure 
> <[email protected]> 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?
> 
> Thanks,
> Alan
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to