On Thursday, August 21, 2014 2:16:01 PM UTC+1, [email protected] wrote:
> Hi all, I'm sure I could figure this out, but I'm feeling lazy: Is it 
> possible to update a clojurescript atom from javascript? If so, what's the 
> syntax?
> 
> Thanks, 
> Dave

yes, you can. create a function in clojurescript as an extern function which 
updates the atom, passing in the value you want to update the atom with, then 
just call the clojurescript function from javascript

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to