@lqsa In think you could use a Behavior on ContentY.
Would this give you want ?
import QtQuick 2.0
import QtQuick.Window 2.0
Window{
visible:true;
Flickable {
width: 100; height: 150
contentWidth: 300; contentHeight: 300
Behavior on contentY{
NumberAnimation {
duration: 1000
easing.type: Easing.OutBounce
}
}
Timer{
running: true;
interval: 1500
repeat: true
onTriggered:{
if (parent.contentY==0) parent.contentY=300;
else parent.contentY=0;
}
}
Rectangle {
width: 300; height: 300
gradient: Gradient {
GradientStop { position: 0.0; color: "lightsteelblue" }
GradientStop { position: 1.0; color: "blue" }
}
}
}
}