Installation
npm i @vanillawc/wc-marquee
Import from NPM
<script type="module" src="node_modules/@vanillawc/wc-marquee/index.js"></script>
Import from CDN
<script type="module" src="https://cdn.jsdelivr.net/gh/vanillawc/wc-marquee@1/index.js"></script>
Try it on WebComponents.dev
Attributes
party
- enable party mode
<wc-marquee>
This text will marquee across the screen
</wc-marquee>
<wc-marquee party>
This will demonstrate the resplendent joy of HTML in its prime
</wc-marquee>
Styling can be done using standard css attributes.
<wc-marquee style="font-family: sans-serif;">
This will demonstrate the resplendent joy of HTML in its prime
</wc-marquee>
See CONTRIBUTING.md