Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

cardSwipedLeft not fired #52

Open
MoatazAbdallh opened this issue Feb 10, 2015 · 6 comments
Open

cardSwipedLeft not fired #52

MoatazAbdallh opened this issue Feb 10, 2015 · 6 comments

Comments

@MoatazAbdallh
Copy link

Hello
Iam testing the demo but i couldn't found cardSwipedLeft fired, i am working on App that requires to know the swiping direction

@keithdmoore
Copy link
Contributor

I just tried it and it was working fine.

 <td-card ng-repeat="mycard in mycards" on-swipe-left="cardSwipedLeft($index)">

@MoatazAbdallh
Copy link
Author

thanks for your reply, but can you explain to me what's the functionality of

NOPE
LIKE

also when the card is swiped and not splice it not return again to it's original position it have some tilling.
Regards

@fitzcn
Copy link

fitzcn commented Feb 11, 2015

@mo3taz-abdallh the NOPE and LIKE are overlays that appear as swiping begins. I followed this setup to get them to work https://blog.nraboy.com/2015/01/making-tinder-style-swipe-cards-ionic-framework/

as for your other question, I don't know how to address it.

@saimon24
Copy link

See my blogpost for a fix of the not called event!
http://devdactic.com/optimize-tinder-cards

@mediavrog
Copy link

@saimon24 Thanks for the hint. We added the proper events to call our swipe logic logic on both

on-swipe-left and on-transition-left (same for right)

@budda
Copy link

budda commented Oct 4, 2015

I'm still not seeing any console.log() output after adding the various events mentioned in http://devdactic.com/optimize-tinder-cards

Testing in a Chrome browser.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants