Good Evening,
I was wondering if there was a way to access the snap value in the draggable.create. When onThrowComplete finishes I would like to be able to access the x position of the element it snapped to. So if it snapped to 43, Id like to be able to access that number in the onthrowcomplete function. Thank you in advance.
Draggable.create("#knob",{
type:"x",
bounds: {left:140,top:0,width:870},
edgeResistance: .85,
inertia: true,
snap: [43,408,770],
onThrowComplete:function(){
}
});