JavaScript Edu Resources. Angular Courses. React Tutorials. Join us!

ng2-swipeable-card

Swipeable card component for Angular2

  • A small standalone Angular2 plugin that allows your card component to either swipe left or right.
  • For webpack consumers, first, import to your entry file,

    Then, import and in your file,

    Lastly, simply add your content between tags to consume swipeable-card styles like box-shadow and default padding.

  • Example markup for a list of swipeable cards that you can swipe either left or right.
  • , template: , }); { cards [ { name: , image: , visible: , content: }, { name: , image: , visible: , content: }, { name: , image: , visible: , content: } ]; like( ) {} share( ) {} }

    Make sure you have Node version >= 5.11 and NPM >= 3

    If you have installed, which is highly recommended ( ) you can do a in to run with the latest Node LTS.



GitHub

Comments are closed, but trackbacks and pingbacks are open.