No need for that just bind the runnig property.
ListView {
...
delegate: Rectangle {
...
MouseArea {
anchors.fill: parent
enabled: !myTrans.running
}
}
...
add: Transition {
id: myTrans
NumberAnimation { properties: "y"; from: 100; duration:5000 }
}
}
↧