Hoppa till innehåll

site free

Making Tinder Style Swipe Cards With Ionic Framework

  • av
Making Tinder Style Swipe Cards With Ionic Framework

The Tinder App recently got large amount of attention, particularly the swipe cards are instantly showing up everywhere. Ionic has already been producing an answer for all to create these kind easily of cards with HTML5 and Javascript. Consequently, in this tutorial we will highlight simple tips to include swipe that is tinder-style in your Ionic software by using a customized ion.

You will find the current project for ionic-ion-tinder-cards on github. Nonetheless, the demo is a little buggy as well as the paperwork right now just isn’t extremely detail by detail, so follow along this tutorial to have a sweet card optic such as this:

Setup your base App

We focus on a simple blank Ionic template and include the iOS and Android os system:

Now we have to install the the Ionic tinder cards, generally speaking i favor it to put in these packages via bower therefore go right ahead and kind:

This may not just install the Ionic tdcards, but in addition the collide.js lib which can be utilized in the tinder cards. We have to import both inside our software, therefore available your index.html and include the lines:

Incorporating the tinder cards

To demonstrate any such thing, we must modify our index.html you need to include the customized directives.Läs mer »Making Tinder Style Swipe Cards With Ionic Framework