15 PropertyChanges { target: myRect; border.color: "blue" }
17 transitions: Transition {
18 ColorAnimation { target: myRect; to: "red"; property: "border.colr"; duration: 1000 }
20 Component.onCompleted: if (wrapper.state == "state1") wrapper.state = ""; else wrapper.state = "state1";