I have a small application where I've added onMouseOver/Out functionality
that affects the style of the elements the mouse hoovers.

When the user clicks one of these elements, they are all changed, and also
changes size (they are buttons with variable width).

This results in an updated Dom which do not honour the mouse position
until the mouse is moved. This feels a bit tacky.

I assume that I would like to trigger an extra procedure after the new Dom
was rendered to know which element (if any) the mouse hoovers now, and then
make sure that element got its state updated to its hoovered state.

Are there any examples on this in Om?

If not, which of the interfaces should I use to accomplish the redrawing of
the Dom and then an additional event that made an explicit lookup of the
mouse position?

And how do I map an explicit #js object back into a Om-model?

Sorry for asking so explicit questions, but I have looked into the
documentation much and I just don't really get it.

Thanks,
Linus

-- 
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