0.0.0 ā€¢ Published 4 years ago

paper-card v0.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Paper Card

šŸƒ Customizable playing card web component. This web component follows the open-wc recommendation.

Generic badge Generic badge

Installation

npm i paper-card

Usage

<script type="module">
  import 'paper-card/paper-card.js';
</script>

<paper-card
  front="front-img-scr.png"
  back="back-img-scr.png"
  height="175px"
  width="125px"
  isDraggable
  isFlippable
></paper-card>

Local Demo

To run a local development server that serves the basic demo located in demo/index.html

cd paper-card
npm start