aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/animation/behaviors/behavior-example.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/animation/behaviors/behavior-example.qml')
-rw-r--r--examples/quick/animation/behaviors/behavior-example.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/quick/animation/behaviors/behavior-example.qml b/examples/quick/animation/behaviors/behavior-example.qml
index a88d7c8c7b..e77c3537a0 100644
--- a/examples/quick/animation/behaviors/behavior-example.qml
+++ b/examples/quick/animation/behaviors/behavior-example.qml
@@ -92,10 +92,12 @@ Rectangle {
NumberAnimation { easing.type: Easing.OutElastic; easing.amplitude: 3.0; easing.period: 2.0; duration: 300 }
}
+ //! [0]
// Set an 'elastic' behavior on the focusRect's y property.
Behavior on y {
NumberAnimation { easing.type: Easing.OutElastic; easing.amplitude: 3.0; easing.period: 2.0; duration: 300 }
}
+ //! [0]
Text {
id: focusText