Hi…

for a few days I am evaluating clojurescript/reagent et.Al.. I just got 
integrated all the bits and pieces like reagent, cljsjs/react-bootstrap and 
cljsjs/react-bootstrap-datetimepicker.

Now I got a working configured datetimepicker on the screen with the following 
code:

(def datetime (reagent/adapt-react-class js/ReactBootstrapDatetimepicker))

(defn datetime-picker []
    [datetime {:input-format "MMM DD, YYYY HH:mm:ss"
                      :date-time      (js/Date.)}]

What I am puzzled about is where the cljs config map conversion to javascript 
happens.
I read about #js, clj->js and the like everywhere, but here the map seems to be 
automatically converted (including kebab to camel case conversion).

Is this a newer clojurescript feature I did not read about yet?

Ciao

…Jochen

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to