You can provide refs to dom calls and use om/get-node to retrieve them: (dom/div #js {:ref "foo"} ...)
(om/get-node owner "foo") It is tied to the owner though and I'm not entirely sure what that means for grabbing refs from other components - as far as I'm aware, it will work just fine for children but maybe not for siblings. Worth a try though. On Fri, 6 Mar 2015 at 18:37 Glen Mailer <glenja...@gmail.com> wrote: > In ordinary React I think I would keep all of this logic in the parent, > and read from the DOM in didUpdate. There's a feature called refs which can > be used to grab references to the rendered children to get their DOM nodes. > > I'm afraid I don't know how to do the equivalent in Om. > > -- > 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. > -- 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.