do-web / jTinder

jTinder is a javascript library that makes rating people, products, images very easy and fast. It is optimized for mobile touch device but has also a desktop fallback.
GNU General Public License v2.0
235 stars 99 forks source link

Revert programmatically #16

Open ssoulless opened 9 years ago

ssoulless commented 9 years ago

Hi, would be nice to have a way of revert a like or dislike, for example:

In my use case, users cannot like or dislike items if they are not logged in, so if user drags and drops the item without log in the current item should go back to the top of the deck, so that should be something like

$("#tinderslide").jTinder('revert');

Any idea how to modify the current script for add this functionality?

PriyankaRose commented 7 years ago

did you got solution?

Mine is to undo the like or dislike. Any idea?

nikhilthegrizzlybear commented 7 years ago

I wonder if you have a solution yet. Either of you guys get one?