Comments (1)
I'm wondering about this as well. I would like to have it wrap around, actually. If you swipe through all the cards, don't destroy them all, but just loop around to the beginning again unless the user selected one of the button choices that really should destroy a card.
Unfortunately this looks a little tricky because whether you select a button or swipe, both the swipe
and destroy
callbacks are rung. You can try to repush an item on the scope array bound to ng-repeat
but you'll get duplicate: use track by
errors.
It looks like I'm going to have keep a copy of the array and manage it manually to achieve this. Anyway, this doesn't answer your question..sorry, I'm just rambling out loud. I don't believe it has support for swiping up, but I don't think that should be too difficult to add.
from ionic-ion-swipe-cards.
Related Issues (20)
- Breaks in 0.0.12 HOT 3
- What all can i put on my cards? HOT 1
- just can't get this to work... always get an error in the directive for swipe-card HOT 6
- Not working on ionic framework beta 14 HOT 7
- Strange transitions animations HOT 1
- Swipe Cards Broken in Beta 14
- Problem using with Side Menu HOT 1
- Titanium
- memory leak in SwipeCardController HOT 3
- Android pre-5.0 rendering issues HOT 1
- Is there any way to make it circular? HOT 2
- Xcode code signing error HOT 3
- how to fetch data from api ?
- Very low quality plugin (not useable for anything useful) HOT 4
- When card is swiped right or left or to the top, the answer,decline buttons wont work HOT 1
- Enable Sourcegraph
- Demo link not working HOT 4
- Swift left or right HOT 2
- Adding card to back of stack
- ionic-ion-swipe-cards not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ionic-ion-swipe-cards.