Warning, /webapps/qmlonline/qml/examples/sequentialanimation.qml is written in an unsupported language. File is not indexed.
0001 import QtQuick 2.7 0002 import QtQuick.Controls 2.3 0003 0004 Rectangle { 0005 id: root 0006 color: "red" 0007 anchors.fill: parent 0008 0009 Rectangle { 0010 color: "black" 0011 anchors.centerIn: parent 0012 width: 100 0013 height: width 0014 0015 SequentialAnimation on width { 0016 loops: Animation.Infinite 0017 PropertyAnimation { to: root.width/2; duration: 800 } 0018 PropertyAnimation { to: root.width/4; duration: 300 } 0019 } 0020 } 0021 }