@averagemarcus/cat-pic
v0.0.1
Published
Picutes of cats
Downloads
5
Readme
cat-pic
Web Component to get a random cat picture from placekitten.com
Usage
- Include a script reference to the module:
<script type="module" src="https://unpkg.com/@averagemarcus/cat-pic?module"></script>
- 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:
npm install
npm run build
npm run serve