Thank you Daniel.

IDidMount/did-mount works for me. BTW good om lifecycle explanation
can be found here:
http://josf.info/blog/2014/09/18/first-ompressions-a-conceptual-look-at-om/

On 18 September 2014 10:18, Daniel Kersten <dkers...@gmail.com> wrote:
>
> Forgot to add: IDidMount/did-mount only gets called after mounting.  If you 
> want to run code after later renders you can use IDidUpdate.
>
> On 18 Sep 2014 09:16, "Daniel Kersten" <dkers...@gmail.com> wrote:
>>
>> In Om, a good place to put things that need render to have been called is in 
>> IDidMount. You can get the DOM node for your component with (om/get-node 
>> owner) or (om/get-node owner ref) if you want a sprcific node with a :ref 
>> attribute set.

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

Reply via email to