Opened 10 years ago
Closed 9 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: |
Description
Currently the transition animation in dojox.mobile is based on CSS3 which is asynchronous by nature.
However, in many use cases, we have to make it synchronous, because:
- there's known issues if two transition animations are played simultaneously.
- 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: http://www.w3.org/TR/css3-animations/#animation-events-
Change History (2)
comment:1 Changed 10 years ago by
comment:2 Changed 9 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
I hope you you found a solution.
Note: See
TracTickets for help on using
tickets.
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?