Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to destroy any card? #15

Open
consrv-suman opened this issue Jun 16, 2016 · 1 comment
Open

How to destroy any card? #15

consrv-suman opened this issue Jun 16, 2016 · 1 comment

Comments

@consrv-suman
Copy link

Hi,

I am displaying the cards vertically one over another like cards in a wallet. I want to destroy any selected card.

image

Any help is appreciable.

@davElsanto
Copy link

davElsanto commented Sep 2, 2016

You can use:
$scope.cardDestroyed = function(index) { $scope.cards.active.splice(index, 1); };
but your 2nd card is not enabled to swipe. I'm stuck here.

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

No branches or pull requests

2 participants