6
default property alias data: column.children
7
contentHeight: column.childrenRect.height
8
boundsBehavior: Flickable.DragOverBounds
10
property double initContentY
13
initContentY = contentY;
20
var posy = flickable.height + flickable.visibleArea.yPosition * flickable.contentHeight
22
// It's column.width - units.gu(2) because of the weird alignment of TextField
23
var obj = column.childAt(column.width - units.gu(2), posy)
24
if (Math.abs(posy - obj.y) < obj.height / 2) {
25
console.log("scroll up", obj.y);
26
flickable.contentY = obj.y - flickable.height
28
console.log("scroll down", obj.y);
29
flickable.contentY = obj.y + obj.height - flickable.height
33
Behavior on contentY {
34
NumberAnimation { duration: 300; easing.type: Easing.OutQuad}