Re: [ClojureScript] Accessing the real DOM from Om

2014-05-30 Thread Andrew Keedle
Sean, thanks for the link to your Om-Sentre project. Some interesting stuff in there with the use of Sente. Something I looked at a while back but didn't progress with. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message be

Re: [ClojureScript] Accessing the real DOM from Om

2014-05-29 Thread Sean Corfield
You may also find this helpful: https://github.com/seancorfield/om-sente/blob/master/src/cljs/om_sente/core.cljs It builds graphs three ways: * using Om to do animation * using D3 "raw" * using NVD3 "raw" Sean On May 29, 2014, at 3:41 AM, Juan Manuel Gimeno Illa wrote: > Thanks for the detail

Re: [ClojureScript] Accessing the real DOM from Om

2014-05-29 Thread Juan Manuel Gimeno Illa
Thanks for the detailed answer !!! Juan Manuel -- 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 ema

Re: [ClojureScript] Accessing the real DOM from Om

2014-05-28 Thread Daniel Kersten
I'm doing something similar to work with dimplejs.org charts. Basically, all of my dimple code is run from either om/IDidMount (if it only needs to be run once once the DOM has been rendered) or om/IDidUpdate (if it needs to be run again later, eg, to update the charts if data changes). Because di

Re: [ClojureScript] Accessing the real DOM from Om

2014-05-28 Thread Gary Trakhman
I can answer the 'is it possible' part. Yes, you can assign 'ref' attributes to nodes, then use om.core/get-node to get the actual dom node. On Wed, May 28, 2014 at 11:27 AM, Juan Manuel Gimeno Illa < jmgim...@gmail.com> wrote: > I'm trying to define chart components for Om in order to create >

[ClojureScript] Accessing the real DOM from Om

2014-05-28 Thread Juan Manuel Gimeno Illa
I'm trying to define chart components for Om in order to create dashboards. For the state management and propagation Om feels right and for the charting my idea is to use d3.js (via strokes, a clojurescript adapter). I have started by translating the code for http://10consulting.com/2014/02/19/