Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
4.7.1
-
None
Description
Some designers and developers prefer using behaviors over states and transitions. For parallelly running behaviors you often want the easing curve and duration of the animation to be the same, so allowing people to group similar Behavior would make sense.
So instead of having to write
y: button.pressed ? -2 : 0 scale: button.pressed ? 0.97 : 1.0 Behavior on y { NumberAnimation { easing.type: Easing.InOutQuad duration: 200 } } Behavior on scale { NumberAnimation { easing.type: Easing.InOutQuad duration: 200 } }
it would be nice to be able to write
y: button.pressed ? -2 : 0 scale: button.pressed ? 0.97 : 1.0 Behavior on y, scale { NumberAnimation { easing.type: Easing.InOutQuad duration: 200 } }