moment/src/qml/Base/HListView.qml

26 lines
554 B
QML
Raw Normal View History

2019-07-08 13:52:41 +10:00
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.12
2019-05-14 03:15:03 +10:00
ListView {
add: Transition {
HNumberAnimation { properties: "x,y"; from: 100 }
2019-05-14 03:15:03 +10:00
}
move: Transition {
HNumberAnimation { properties: "x,y" }
2019-05-14 03:15:03 +10:00
}
displaced: Transition {
HNumberAnimation { properties: "x,y" }
2019-05-14 03:15:03 +10:00
}
remove: Transition {
ParallelAnimation {
HNumberAnimation { property: "opacity"; to: 0 }
HNumberAnimation { properties: "x,y"; to: 100 }
2019-05-14 03:15:03 +10:00
}
}
}