Given an Om component, I can find the associated DOM node with om/get-node. Is there a mechanism to go the other way (i.e. given a DOM node, find the associated Om component)?
Why do I need this? I’m working with selection ranges - window.getSelection() returns the first and last DOM nodes contained within the selection and I’d like to work out which components they correspond to. -- paul.butcher->msgCount++ Silverstone, Brands Hatch, Donington Park... Who says I have a one track mind? http://www.paulbutcher.com/ LinkedIn: http://www.linkedin.com/in/paulbutcher Skype: paulrabutcher Author of Seven Concurrency Models in Seven Weeks: When Threads Unravel http://pragprog.com/book/pb7con -- 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.
