briangonzalez / jquery.pep.js

👟 Pep, a lightweight plugin for kinetic drag on mobile/desktop
http://pep.briangonzalez.org
1.3k stars 178 forks source link

Reset Position #180

Closed CKH4 closed 7 years ago

CKH4 commented 8 years ago

Is there a way to set the position back to zero? Just resetting the transform causes it to jump.

ghost commented 8 years ago

+1, I need to reset the position back

Edit: the revert property works for me. Good stuff.