1 2 3 4 5 6 7 8 9 10
import QtQuick 2.12 /* \qmltype AnimatedButton */ Rectangle { width: 100 height: 20 Behavior on color { ColorAnimation { duration : 300 } } }