0.0.1 • Published 7 years ago
@averagemarcus/cat-pic v0.0.1
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:
1. npm install
2. npm run build
3. npm run serve
0.0.1
7 years ago