Opened 11 years ago

Closed 10 years ago

#13465 closed enhancement (invalid)

Consider Pop Up Events(esp transition end event) for Transition Animation

Reported by: Ming Zhe Huang Owned by: ykami
Priority: high Milestone: tbd
Component: DojoX Mobile Version: 1.7.0b1
Keywords: Cc:
Blocked By: Blocking:


Currently the transition animation in is based on CSS3 which is asynchronous by nature.

However, in many use cases, we have to make it synchronous, because:

  1. there's known issues if two transition animations are played simultaneously.
  2. the logic of applications may require blocking until transition animation is finished.

To achieve that, a transition end event should be visible to external. Applications can use a lock to block, and wait for this event to release the lock.

So we should consider pop up events for transition animation. And CSS3 animation provides its events:

Change History (2)

comment:1 Changed 11 years ago by ykami

You can connect to various transition event handlers such as onAfterTransitionOut. See test_transition-connect.html for details. Or you can subscribe the equivalent transition events with dojo.subscribe. See test_transition-pubsub.html for details. Or perhaps you may want to directly capture transition animation events by connecting to View's domNode. What else do you need?

comment:2 Changed 10 years ago by ykami

Resolution: invalid
Status: newclosed

I hope you you found a solution.

Note: See TracTickets for help on using tickets.