0.0.1 • Published 6 years ago

@averagemarcus/cat-pic v0.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
6 years ago

cat-pic

Web Component to get a random cat picture from placekitten.com

Usage

  1. Include a script reference to the module:
<script type="module" src="https://unpkg.com/@averagemarcus/cat-pic?module"></script>
  1. Add a <cat-pic> element to your page
<cat-pic></cat-pic>
<cat-pic width="250px"></cat-pic>
<cat-pic height="150px"></cat-pic>
<cat-pic width="250px" height="100px"></cat-pic>

Contributions

Contributions welcome!

Found a bug? File an issue

Running locally

Once checked out: 1. npm install 2. npm run build 3. npm run serve