I would probably do this by hooking into IWillUpdate. Generally whatever
solution makes sense for React will make sense for Om.

David


On Fri, Mar 7, 2014 at 8:35 PM, <[email protected]> wrote:

> Hi Everyone,
>
> I have an application state
>
> (def app-state (atom {:index 0 :some-list [1 2 3 4]}))
>
> When next button is clicked, index is incremented and the corresponding
> item from the :some-list is displayed. Now I want to introduce an
> animation/effect during the transition from one item to another. How should
> I go about it in Om ?
>
> regards
>
> --
> 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.
>

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