Add card.js to Ionic v3


#1

Anyone know how to integrate card.js to an Ionic v3 app? The app already uses Stripe Elements to display the credit card form. I just want to include card.js to show a preview of the card.

I can’t find any documentation anywhere. I even tried referencing the JS file in index.html, but no luck.

Thanks.


#2

See: https://github.com/jessepollak/card#installing-card-from-npm

And: https://github.com/zenkkor/ngx-credit-cards


#3

card.js is awesome…


#4

I think card.js is skeuomorphic :slight_smile:


#5

Yes, more js library like this please.

CSS3 can do what photoshop can do for UI design.

CSS3 is the best tool for UI design on mobile devices…
However, on Android, it’ll slow down a little if you design complicated object like the clock in youtube video.