cljfx 2022-08-11

How can I add some UI Component like Button in repl?

atom {:state {:input-name ""}} how can I bind :input-name to the text-field ? or in text-field's change event swap the :input-name ?

is the atom state need to pass parent ctrl to child ctrl from argument of the function like this?

(defn root [state]
    {:fx/type v-box ...
                  :children [ {:fx/type child-a 
                                     :state state}]}
 (defn child-a [state] {:fx/type child-a1
                        :state state})