Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
4.7.1
-
None
-
c8cb154e167ae82e464b07aed8c5a0aac1112d9e
Description
You need to define multiple transitions when 1.) you have multiple states with different relationships in your element and/or 2.) the direction of the animation is important, like when using ParentAnimation or PropertyAction inside the transition. What you quickly find out that while some of the transitions had to be different, you also end up having transitions with identical animations that you cannot define inside the same transition due to the only supported Transition paths to and from properties give you either being "one to all", "all to one" or "one to one."
So instead of having to write
Transition { from: "state1" to: "state2" MyAnimation { ... } } Transition { from: "state1" to: "state 3" MyAnimation { ... } }
to reduce code duplication it would be nice if you could assign multiple states to from and to properties:
Transition { from: "state1" to: "state2, state 3" MyAnimation { ... } }