Hi,
I'm trying to make a "harder" Draggable movement. Meaning: if the user swipe very fast I don't want my container to scroll away to Mars. I have this in a class controlling my stuff
this.dragg = Draggable.create(this.slidesInner, {
type:"x",
inertia:true,
edgeResistance: 0.8,
resistance: 0.75,
duration:{min:0.1, max:0.5},
snap: { x: this.snapX
},
onDrag:this.onUpdate,
onThrowUpdate:this.onUpdate,
onDragEnd:this.onDragEnd,
callbackScope:this
});
But even changing resistance and duration I see no change. What am I doing wrong?
And, more: it would be very nice to pass to the Draggable instance some custom property, like "parent" How can I achieve that ?
Thank you