aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/positioners/positioners-transitions.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/positioners/positioners-transitions.qml')
-rw-r--r--examples/quick/positioners/positioners-transitions.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/quick/positioners/positioners-transitions.qml b/examples/quick/positioners/positioners-transitions.qml
index f1b61c1740..e573c94343 100644
--- a/examples/quick/positioners/positioners-transitions.qml
+++ b/examples/quick/positioners/positioners-transitions.qml
@@ -191,13 +191,17 @@ Rectangle {
id: layout4
x: 120; y: 160; width: 150
+ //! [move]
move: Transition {
NumberAnimation { properties: "x,y"; easing.type: Easing.OutBounce }
}
+ //! [move]
+ //! [add]
add: Transition {
NumberAnimation { properties: "x,y"; easing.type: Easing.OutBounce }
}
+ //! [add]
Rectangle { color: "red"; width: 50; height: 50; border.color: "black"; radius: 15 }