anseki / plain-draggable

The simple and high performance library to allow HTML/SVG element to be dragged.
https://anseki.github.io/plain-draggable/
MIT License
773 stars 99 forks source link

is there a method that i can set the resistance when the draggable element touch the snap edge ? #53

Closed towify closed 4 years ago

towify commented 4 years ago

Hi, Is there a method that i can set a custom resistance when the draggable element touch the snap edge ?

anseki commented 4 years ago

Hi @towify, thank you for the comment. Sorry, what does "resistance" mean?

towify commented 4 years ago

@anseki , it is the opposite of gravity : )

anseki commented 4 years ago

You can specify gravity option for Snap.

anseki commented 4 years ago

?

anseki commented 4 years ago

Was this issue solved???

anseki commented 4 years ago

Could you explain your situation for another issue?